SmartDS Scenarios Issues #50
Replies: 3 comments
-
|
Hi, Adam,
Which engine version are you using?
Thanks for the link, I downloaded that folder (and the I got the following error message on Linux with the latest stable release, so invalid properties as expected: From your comment in openEDI/documentation#38:
LegacyModels was removed in March 2023, Updating the .DSS files as discussed in https://sourceforge.net/p/electricdss/discussion/861976/thread/4a6aa2199f/ might work. The PDF I mention was removed (merged to the online docs), but the last version is on https://sourceforge.net/p/electricdss/code/3706/tree/trunk/Version8/Distrib/Doc/PVSystem_InvControl.pdf I did try running replacing, in
With that, I was able to run without LegacyModels in the old versions, and the latest release. I waited for the command to finish on the latest release with the I didn't replace It would be a good idea to compare the results with the old LegacyModels flag (or an even older engine version, before 2020), and an updated dataset with the replacements above. In case they're enough, it might be worth to document it somewhere, maybe even add a preprocessing script to adjust the files. Note that I don't expect the results to match exactly, there are lots of changes since the old releases besides the InvControl/Storage/PVSystem models. |
Beta Was this translation helpful? Give feedback.
-
|
@adam-morse, I can reproduce your issue on Windows! Good news is that the latest dev branch (not public yet) already fixes it, and I believe the next release of the official OpenDSS does too. |
Beta Was this translation helpful? Give feedback.
-
|
@PMeira You made my day! Interesting that it works on Linux but not Windows. NREL saved their simulation results in the dataset to 'analysis' folders so I should be able to cross check against what they got in ~2020. I'll look forward to the the dev branch being released. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Paulo,
First thank you for everything you are doing with DSS-Extensions. It's been an amazing experience using the tool.
I'm having an issue running high and extreme PV SmartDS, time series scenarios using DSSExtensions that I can't seem to troubleshoot. I didn't get resolution through a github issue at SmartDS:
openEDI/documentation#38
I can't expect you to download the SmartDS dataset to reproduce the issue but you can look at the files I'm working with:
https://data.openei.org/s3_viewer?bucket=oedi-data-lake&prefix=SMART-DS%2Fv1.0%2F2018%2FGSO%2Furban-suburban%2Fscenarios%2Fsolar_high_batteries_none_timeseries%2Fopendss%2Fuhs0_1247%2Fuhs0_1247--udt12274%2F
The main reason I thought it might related to InvControl elements is that the none, low and medium PV scenarios do not have any InvControl, but I really don't have a clue not being able to decipher the error code.
Any help is much appreciated,
Adam
DSSException Traceback (most recent call last)
Cell In[229], line 1
----> 1 ckt(f'Redirect {master_file}')
File ~\anaconda3\envs\holoviz_env\Lib\site-packages\altdss\AltDSS.py:450, in AltDSS.call(self, cmds)
426 def call(self, cmds: Union[AnyStr, List[AnyStr]]):
427 '''
428 Pass either a single string (with either one or multiples commands, separated by new lines),
429 or a list of strings.
(...)
448 ```
449 '''
--> 450 self.Commands(cmds)
File ~\anaconda3\envs\holoviz_env\Lib\site-packages\altdss\AltDSS.py:411, in AltDSS.Commands(self, Value)
408 if not isinstance(Value, bytes):
409 Value = Value.encode(self._api_util.codec)
--> 411 self._check_for_error(self._lib.Text_CommandBlock(Value))
412 else:
413 self._check_for_error(self._set_string_array(self._lib.Text_CommandArray, Value))
File ~\anaconda3\envs\holoviz_env\Lib\site-packages\dss_cffi_api_util.py:267, in Base._check_for_error(self, result)
265 error_num = self._errorPtr[0]
266 self._errorPtr[0] = 0
--> 267 raise DSSException(error_num, self._get_string(self._lib.Error_Get_Description()))
269 return result
DSSException: (#482) Error Encountered in Solve: Access violation
(..\SmartDS_GSO\urban-suburban\scenarios\solar_extreme_batteries_none_timeseries\opendss\uhs0_1247\uhs0_1247--udt12274\Master.dss", line: 23]
Beta Was this translation helpful? Give feedback.
All reactions