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
it could be useful to be able to change component attribute values after creating the network. Perhaps also for time-varying attributes. For me this would be useful when merging two networks with duplicate component indices, but I could imagine other use cases.
The text was updated successfully, but these errors were encountered:
I don't understand the issue Isn't this possible, e.g.
changing the maximum power (P_max) of a generator n.generators.loc['GeneratorID', 'p_nom_max'] = new_value
or for time-varying attributes n.generators_t.p_max_pu.loc[:, 'GeneratorID'] = new_time_series
@alexfias thanks for the comment. I don't think it will be complex, I'm just suggesting (and working on) a method that hopefully makes it easier. Any method that we write is also possible by writing out the code directly, otherwise it wouldn't be possible to write the method. Also if, for instance, a bus name is changed then this new name should be propagated elsewhere in the dataframes (that was my original incentive for writing this method).
it could be useful to be able to change component attribute values after creating the network. Perhaps also for time-varying attributes. For me this would be useful when merging two networks with duplicate component indices, but I could imagine other use cases.
The text was updated successfully, but these errors were encountered: