Replies: 1 comment
-
We don't support that here, sorry. We develop and support the following Python packages: DSS-Python, OpenDSSDirect.py and AltDSS-Python. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Battery control logic
battery_soc = {config['bess_name']: 50.0 for config in pv_bess_config} # Initial SOC at 50%
time_step_hours = 0.5 # 30 minutes in hours
#dss.text("set stepsize=0.5h")
#dss.text("set mode=daily")
#dss.text("set number=1")
total_number=48
#for i in range(len(pv_data)):
for i in range(total_number):
print(f"\nTime step {i + 1}:")
for config in pv_bess_config:
I’m currently working on a simple battery control program using PyDSS. While the output results from the battery monitor seem normal, the results for both Load and PVSystem monitors show repetitive values. I’m wondering if this could be related to the fact that I used LoadShape to input power for these components (I tested the LoadShape using the following commands:dss.loadshapes.name = "LOAD1"
dss.text("plot loadshape object=LOAD1")
The results appeared to be correct, so the issue seems to only affect the monitor results).
Additionally, the monitored results do not initially display timestamps. To address this, I attempted to use the following commands:dss.text("set stepsize=0.5h")
dss.text("set mode=daily")
After doing so, the monitored results started including timestamps, but the Monitor_Storage data stopped updating (the values remained static).
IEEE13Nodeckt_Mon_load1_mon_1.csv
IEEE13Nodeckt_Mon_battery1_mon_1.csv
I would greatly appreciate any suggestions or insights on how to resolve these issues.
Beta Was this translation helpful? Give feedback.
All reactions