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
If the user manually changes one of the following "secondary" values, that change is lost if the "primary" value is one of the standard values and a simulation is run:
Shunt resistor power rating
Load capacitor voltage rating
Bleed resistor power rating
For example. if the load capacitor capacitance is 1000uF and the user changes the voltage from 100V to 50V, the voltage flips back to 100V when the Simulate button is pressed and the simulation is performed with 100V.
A workaround would be for the user to very slightly change the primary value, e.g. use 1001uF instead of 1000uF. But this is easy to fix.
The text was updated successfully, but these errors were encountered:
Changed code in shunt_ohms_widget_actions(), load_cap_widget_actions() and rb_widget_actions() to suppress changing the secondary value (shunt_wattage, load_cap_v, rb_wattage) when the primary value matches one of the standard values is the method was not called with an event. This keeps it from changing a manually enetered value. However, we still want to change the secondary value when the "Restore Defaults" button is called, so the restore_shunt_ohms_defaults(), restore_load_cap_defaults() and restore_rb_defaults() methods call the shunt_ohms_widget_actions(), load_cap_widget_actions() and rb_widget_actions() with a dummy event.
The update_all_widgets() method is also fixed so it updates the secondary values. Otherwise, if the user doesn't hit enter after changing one of these values, the new value isn't used.
This change was made to both the python and python file.
If the user manually changes one of the following "secondary" values, that change is lost if the "primary" value is one of the standard values and a simulation is run:
For example. if the load capacitor capacitance is 1000uF and the user changes the voltage from 100V to 50V, the voltage flips back to 100V when the Simulate button is pressed and the simulation is performed with 100V.
A workaround would be for the user to very slightly change the primary value, e.g. use 1001uF instead of 1000uF. But this is easy to fix.
The text was updated successfully, but these errors were encountered: