We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
openmodelica-microgrid-gym/openmodelica_microgrid_gym/net/components.py
Line 179 in 8073a33
Possible to shift all device parameters to net.yaml?
Till now: L,C,R... parameters are defined in file and given to model_params in env maks/register.
Idea: Use net.yaml as bundeld config with all(!!) (initial) env-parameters.
modelparams = {r_load.resistor1.R: net['l_load'].R} still needed or solved internally?
modelparams = {r_load.resistor1.R: net['l_load'].R}
How to implement loadsteps in that case?
modelparams = {r_load.resistor1.R: partial(rand_load.load_step, gain=net['l_load'].R)}?
modelparams = {r_load.resistor1.R: partial(rand_load.load_step, gain=net['l_load'].R)}
The text was updated successfully, but these errors were encountered:
openmodelica-microgrid-gym/openmodelica_microgrid_gym/env/modelica.py
Line 309 in 8073a33
shift params from {values,...} to {...,self.net.params(delayed_action)}
TAKE CARE: What if from net and model_params have the same key:
env.make( model_params={'r_load.resistor1.R': 10} )
and in net -> Load(Component-class): 'r_load.resistor1.R': 20
net -> Load(Component-class): 'r_load.resistor1.R': 20
is r_load.resistor1.R 10 or 20?
toDo: Check in modelica.py 309 (link above) which overwrites what
Sorry, something went wrong.
Here:
use coponent.id('r_load') + '.' name from net ('resistor1.R : 10') instead if model_params (see above)
Webbah
No branches or pull requests
openmodelica-microgrid-gym/openmodelica_microgrid_gym/net/components.py
Line 179 in 8073a33
Possible to shift all device parameters to net.yaml?
Till now: L,C,R... parameters are defined in file and given to model_params in env maks/register.
Idea: Use net.yaml as bundeld config with all(!!) (initial) env-parameters.
modelparams = {r_load.resistor1.R: net['l_load'].R}
still needed or solved internally?How to implement loadsteps in that case?
modelparams = {r_load.resistor1.R: partial(rand_load.load_step, gain=net['l_load'].R)}
?The text was updated successfully, but these errors were encountered: