Both the SimpleGen and the Turbine model extend from the same base class Power2Torque. In that base class the initial speed of the inertia is set with a fixed attribute causing an error if two instances are connected rigidly via the mechanical flange connector.,
The solution is to only allow one instance to have a fixed starting value via an additional parameter, e.g., fixed_iniSpeed
Both the
SimpleGenand theTurbinemodel extend from the same base classPower2Torque. In that base class the initial speed of the inertia is set with a fixed attribute causing an error if two instances are connected rigidly via the mechanical flange connector.,The solution is to only allow one instance to have a fixed starting value via an additional parameter, e.g., fixed_iniSpeed