Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage kW and kvar #6

Open
dougchristie-DukeEnergy opened this issue Jan 10, 2025 · 4 comments
Open

Storage kW and kvar #6

dougchristie-DukeEnergy opened this issue Jan 10, 2025 · 4 comments

Comments

@dougchristie-DukeEnergy
Copy link

dougchristie-DukeEnergy commented Jan 10, 2025

We are currently working on a model that is utilizing the storage ability in Open DSS and our model has the following in it.

!STORAGE IAA
New Storage.Battery phases=3 Bus1=P10 kV=.480 kWrated=500 kVA=650 kWhrated=6000 kWhstored=3000 State=discharging
Storage.Battery.kW=250
Storage.Battery.kvar=200

We want to be able to set the values for Storage.Battery.kW and Storage.Battery.kvar via API calls. These can be set according to documentation in com

https://opendss.epri.com/kW3.html

https://opendss.epri.com/kvar3.html

But there are currently no Getter or Setter functions for this in the current altdss-go api. Is there any chance getter and setters can be create for these values? We want to be able to update those values without redefining the model and we will be calling solve repeatedly.

@PMeira
Copy link
Member

PMeira commented Jan 11, 2025

Already implemented here but requires the upcoming release of our engine:

https://github.com/dss-extensions/AltDSS-Go/blob/next/altdss/dsslib.go#L11212

It should be out by next week.

@dougchristie-DukeEnergy
Copy link
Author

Hi Paulo

That is great news. I assume we get the latest engine when we update to the new version of AltDSS-Go?

@PMeira
Copy link
Member

PMeira commented Jan 13, 2025

I assume we get the latest engine when we update to the new version of AltDSS-Go?

Yes, we try to publish new versions for all language-specific projects right after the engine is updated. I'd recommend either tracking the engine and main API changelog at https://github.com/dss-extensions/dss_capi/blob/master/docs/changelog.md or keeping an eye on the general announcements at https://github.com/orgs/dss-extensions/discussions/categories/announcements

@dougchristie-DukeEnergy
Copy link
Author

Hi Paulo

Just wondering if there is an update on this? Thanks

Doug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants