We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90f0940 commit f00af59Copy full SHA for f00af59
pandapipes/control/controller/non_return_valve_controller.py
@@ -71,6 +71,7 @@ def initialize_control(self):
71
Saving the user-defined values and adapt types.
72
"""
73
self.opened = self.net.valve.loc[self.element_index, "opened"]
74
+ self.net.valve.loc[self.element_index, "opened"] = True
75
self.net.valve.loc[self.element_index, "type"] = "non-return valve"
76
77
def is_converged(self):
0 commit comments