You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reset an environment with an observation as "init state" #707
The "core" code should be pretty much done as this kind of feature is used for "ForecastedEnv" and for "obs.simulate" for example.
Only "glue code" should be done.
NB This would not keep the random state of the grid.
One use case for this could be the ability to set the initial SOC of the energy storage systems. Currently this appears to be 50%, and does not seem to be set in the chronics. Using an action would not work for "init state" in that case, since we might want to set the initial SOC to e.g. 80% which might violate ramping constraints or cause the powerflow to diverge on the first time step (since its an action rather than a state). That would be a non-debug use case though.
Edit: Can make this a seperate enhancement issue if it seems more appropriate
Activity
DEUCE1957 commentedon May 20, 2025
One use case for this could be the ability to set the initial SOC of the energy storage systems. Currently this appears to be 50%, and does not seem to be set in the chronics. Using an action would not work for "init state" in that case, since we might want to set the initial SOC to e.g. 80% which might violate ramping constraints or cause the powerflow to diverge on the first time step (since its an action rather than a state). That would be a non-debug use case though.
Edit: Can make this a seperate enhancement issue if it seems more appropriate
BDonnot commentedon May 20, 2025
Hello,
The initial state of charge of all batteries can be changed in the parameters of the environment directly. There is a parameters for that.
And you are correct, this is not possible today to initialize them in another way. An action will not work.