The Bus constructor now accepts a nominal voltage (phase-to-phase, in V), a min_voltage_level (without unit) and a max_voltage_level (without unit). These arguments replace min_voltage and max_voltage. The Bus class now have some additional properties:
res_voltages_level: it retrieves the voltage level of the bus according to the provided phase-to-phase nominal
voltage;
min_voltage_level and max_voltage_level: these properties retrieve the minimum and maximum voltage levels.
min_voltage and max_voltage: these properties (that existed before) now compute the minimum and maximum
voltage (in V) from the nominal voltage and the minimum and maximum levels.
The file format also changed to take into account these changes. If a min_voltage or max_voltage existed in a file of a previous version, they are lost when upgrading the file.
Close #278
The
Bus
constructor now accepts a nominal voltage (phase-to-phase, in V), amin_voltage_level
(without unit) and amax_voltage_level
(without unit). These arguments replacemin_voltage
andmax_voltage
. TheBus
class now have some additional properties:res_voltages_level
: it retrieves the voltage level of the bus according to the provided phase-to-phase nominal voltage;min_voltage_level
andmax_voltage_level
: these properties retrieve the minimum and maximum voltage levels.min_voltage
andmax_voltage
: these properties (that existed before) now compute the minimum and maximum voltage (in V) from the nominal voltage and the minimum and maximum levels.The file format also changed to take into account these changes. If a
min_voltage
ormax_voltage
existed in a file of a previous version, they are lost when upgrading the file.