Recent Releases of roseau_load_flow
roseau_load_flow - Version 0.13.1
A small improvement in the license validation
- Fix a bug where license validation failed when the English (US) language was not installed on the system (observed on Linux).
- #408 Improve the display of C++ code error messages.
What's Changed
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/407
- ENH: Improve error message by @audreyf9712 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/408
- Version 0.13.1 by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/409
Full Changelog: https://github.com/RoseauTechnologies/RoseauLoadFlow/compare/v0.13.0...v0.13.1
- Python
Published by benoit9126 9 months ago
roseau_load_flow - Version 0.13.0
This is the release notes for Roseau Load Flow version 0.13.0. This version introduces several new features, improvements, and bug fixes.
Support for Open Switches
Pass closed=False to the Switch constructor to create an open switch. Call switch.open() to open an existing switch and switch.close() to close it. switch.closed tells if the switch is closed or not. The switch is closed by default.
Contributed in PR 389.
Sides Accessors for Branches
Access to parameters and results of branch sides has been improved by adding side accessors to branch elements.
Transformer.side_hvandTransformer.side_lvreturn the high-voltage and low-voltage sides of a transformer.Line.side1andLine.side2return thefromandtosides of a line.Switch.side1andSwitch.side2return thefromandtosides of a switch.
A side is a bus connectable element that has all common attributes of bus connectables. For example, Transformer.side_hv has the attributes bus, phases, res_currents, res_powers, res_voltages, etc.
Functions that used to accept a separate branch element and a side argument now accept a branch side element instead. Passing a branch element and a separate side argument to these functions is deprecated. These functions are rlf.GroundConnection, rlf.plotting.plot_voltage_phasors and rlf.plotting.plot_symmetrical_voltages. For example, replace rlf.GroundConnection(ground=ground, element=transformer, side="HV") by rlf.GroundConnection(ground=ground, element=transformer.side_hv) to avoid the deprecation warning.
Contributed in PR 385.
Plotting Improvements
- Add popup and search functionality to the interactive map plot and improve hover tooltips.
The rlf.plotting.plot_interactive_map function now accepts add_tooltips, add_popups and add_search arguments to control the display of tooltips, popups and search features. These features are enabled by default.
- Fix an error in automatic zoom calculation when the whole network is on the same longitude or latitude.
Contributed in PR 395, PR 399.
Better Graph Support
In this release, the en.to_graph method has been revamped to fix several issues and improve usability.
- The method now returns a multi-graph to preserve parallel edges like two or more lines, transformers or switches between the same two buses.
- The
geomattribute of nodes and edges is now a GeoJSON-like dictionary instead of a shapely geometry object. This makes the graph data JSON-serializable and compatible with pyviz plotting tools. - The graph now includes nominal voltage and min/max voltage levels as node attributes.
- A new
respect_switchesparameter allows including open switches in the graph when set toFalse. By default, open switches are not included.
Contributed in PR 391.
External Tool Data in JSON Files
When writing an electrical network to a JSON file, it is now possible to include data specific to your tool or application. This data is stored in the tool_data attribute of the ElectricalNetwork class, which is a dictionary-like object. Any key-value pairs added to this dictionary will be saved in the JSON file when the network is saved and will be loaded back when the network is read from the file.
Contributed in PR 388.
Improved Unbalance Calculations
In earlier versions, the voltage unbalance calculation was limited to the IEC definition (Voltage Unbalance Factor, VUF). This release adds support for IEEE (Percentage Voltage Unbalance Ratio, PVUR) and NEMA (Load Voltage Unbalance Ratio, LVUR) definitions. The res_voltage_unbalance method now accepts a definition parameter which can be set to 'VUF', 'PVUR' or 'LVUR'.
Additionally, current unbalance calculations have been added for loads and sources through the res_current_unbalance method.
Contributed in PR 357.
Transformers Improvements
This release includes several improvements and bug fixes related to transformers and the transformers catalogue.
- Add HV/MV transformer models to the catalogue.
The manufacturer names in the catalogue have been expanded to better accommodate new transformers (SE ⇾ Schneider Electric, FT ⇾ France Transfo, ...). Please update any references to the old manufacturer names in your code to use the new names.
- Add nominal frequency (
fn), cooling class (cooling) and insulation type (insulation) to theTransformerParametersclass.
The cooling and insulation are described in the new enumeration types TransformerCooling and TransformerInsulation respectively. The transformers catalogue has been updated to include these new attributes.
- Improve load flow convergence for networks with step-up transformers.
A bug that cause wrong source voltage propagation when the network contained step-up transformer has been fixed. This yields better initial guesses for the voltages of the buses and improves load flow convergence.
- Fix missing floating neutral of three-phase transformers when the bus does not have a neutral.
When connecting a three-phase transformer with a neutral wire to a bus without a neutral, the neutral of the transformer was incorrectly removed. This has been fixed and the neutral of the transformer is now preserved and becomes floating.
- Fix minor inconsistency in transformer short-circuit parameters calculation.
Iron losses are now ignored during the calculation of the short-circuit parameters of transformers with no open and short circuit tests data. This is consistent with the model we use if the open and short circuit tests data were available.
- Deprecate
Transformer.res_voltage_hvandTransformer.res_voltage_lvproperties added in the last release by mistake. The recommended way to access the voltages of transformer sides is now through the new side accessors:Transformer.side_hv.res_voltagesandTransformer.side_lv.res_voltages.
Contributed in PR 355, PR 366, PR 382, PR 364, PR 371, PR 365.
Python Support and Build System Changes
This release drops support for Python 3.10 and older versions. Roseau Load Flow now requires Python 3.11 or newer.
This release also adds support for musl linux distributions and preliminary support for python 3.14 development version and for free-threaded python 3.13t and 3.14t. Full support is waiting on our dependencies to release relevant wheels.
We also switched from hatchling to uv_build as the build backend, this should not impact users following standard installation procedures.
Contributed in PR 362, PR 394, PR 393.
Other Notable Improvements and New Features
- Improve the performance of accessing network results as dataframes by up to 20% and serializing a network to a dictionary by up to 15%.
The improvements are mostly noticeable with large networks or when performing many simulations like in a time series analysis.
Contributed in PR 398.
- Add
LineParameters.to_symmethod to convert three-phase line parameters to symmetrical components. The method returns the symmetrical components:z0,z1,y0,y1, and for lines with a neutral wire:zn,zpn,yn,ypn.
Contributed in PR 400.
- Detect and raise an error when duplicate line or transformer parameters IDs are used in the same network.
This prevents unexpected behavior and prevents hard-to-debug issues and fixes an inconsistency in the handling of duplicate IDs as previously networks could be created with duplicate line or transformer parameters IDs but could not be saved to a JSON file.
Contributed in PR 361.
- Rework the DGS conversion methods of the electrical network.
Rename the from_dgs method of rlf.ElectricalNetwork to from_dgs_file and add a new from_dgs_dict method to load a network from a DGS-formatted dictionary. The old method is deprecated and will be removed in a future release. The from_dgs_file method accepts an optional encoding parameter to specify the encoding of the DGS file.
Contributed in PR 374.
Other Notable Bug Fixes
- Fix lingering ground connections of disconnected loads and sources.
Disconnect a ground connection of a load or source when the load or source is disconnected from the network. Add is_disconnected property to loads, sources and ground connections to check if the element is disconnected. In the future, accessing the bus of a disconnected load or source will return the original bus instead of None, use is_disconnected to check if the load or source is disconnected.
Contributed in PR 392.
- Fix a regression since version 0.11.0 where
max_voltage_levelfor buses was missing in the catalogue networks.
Contributed in PR 356.
Miscellaneous Changes
- Allow passing a single
FlexibleParameterobject to a constant-power load to be used for all phases.
Contributed in PR 396.
- Add a
Line.res_ground_potentialproperty to access the potential of the ground port of lines with shunt components.
Contributed in PR 369.
- Fix an error when neutral ampacity is not passed to
LineParameters.from_geometry.
The neutral ampacity now defaults to the phase conductor ampacity if not provided.
Contributed in PR 380.
Update JSON file format to version 5 to store this information. Files created with previous versions of Roseau Load Flow will still be readable and will warn on loading.
Fix a bug caused by a short circuits to a newely created ground.
Contributed in PR 360.
- Fix a division by zero error during DGS export.
Contributed in PR 358.
- Rename some internal models modules. The models classes are always available as
rlf.<model_name>.
Contributed in PR 401.
- Stop reformatting arrays in json output.
Contributed in PR 387.
- Python
Published by benoit9126 9 months ago
roseau_load_flow - Version 0.12.0
[!NOTE]
This is the last version of Roseau Load Flow to support Python 3.10.[!TIP] This release also includes the modifications that are in the version 0.12.0-alpha #314.
Breaking changes
The following columns have been renamed in
ElectricalNetwork.transformers_frame:bus1_id,bus2_id->bus_hv_id,bus_lv_idphases1,phases2->phases_hv,phases_lv
and the following columns have been renamed in ElectricalNetwork.res_transformers:
current1,current2->current_hv,current_lvpotential1,potential2->potential_hv,potential_lvvoltage1,voltage2->voltage_hv,voltage_lvpower1,power2->power_hv,power_lv- The
ElectricalNetwork.crsnow defaults toNone(no CRS) instead of"EPSG:4326". The attribute is also no longer normalized to apyproj.CRSobject but is stored as is. UseCRS(en.crs)to always get apyproj.CRSobject.
- The
Detailed changes
- A new experimental module named
roseau.load_flow_singlehas been added for studying balanced three-phase systems using the simpler single-line model. This module is unstable and undocumented, use at your own risk. - Improvements of license validation, particularly during simultaneous use of multiple threads or processes.
- #351 #332 Improved support of the network's Coordinate Reference System (CRS).
- The
CRSwill now default toNone(no CRS) instead of"EPSG:4326"if not provided. - The
ElectricalNetwork.crsattribute is no longer normalized to apyproj.CRSobject. - The
CRScan be set when creating a network with theElectricalNetwork.from_elementmethod. - The
CRSis now correctly stored in the JSON file and is read when loading the network.
- The
- #350 #349 Fix invalid transformer parameters with no leakage inductance when created from open and short circuit tests.
- #348 The load classes have two new properties:
res_inner_currentsandres_inner_powers. These are the currents and powers that flow in the inner components of the load as opposed tores_currentsandres_powersthat flow into the load. - #343 #336 Warn when a line/switch connects buses with different nominal voltages.
- #341 Compute the transformer's open-circuit (no-load) and short-circuit tests results if they are not provided.
TransformerParameters'si0,p0,vsc, andpscare now always available and no longer returnNonewhen the transformer is created fromz2andym. - #340 Improve the support for the conversion from the PowerFactory DGS format.
- Add an option to
ElectricalNetwork.from_dgsto use the element names (loc_namein DGS) as IDs. The names must be unique for each element type. - Read the transformer's maximum loading from the DGS file.
- Read the bus's nominal voltage from the DGS file.
- Fix conversion of the transformer's no-load test results.
- Add an option to
- #339 Constant current loads are no longer allowed on a bus with a short-circuit. Previously, the load flow would fail with a singular matrix error.
335 Add
GroundConnectionclass with the following features:- Ground connections for all terminal elements (buses, loads, sources) and all branch elements, (transformers, lines, switches). Previously only buses could be connected to ground.
- Non-ideal (impedant) ground connections with the
impedanceparameter. - Access to the current in the ground connection with the
res_currentproperty.
The method Ground.connect is deprecated in favor of the new class. Replace ground.connect(bus) by GroundConnection(ground=ground, element=bus). The attribute Ground.connected_buses is also deprecated in favor of GroundConnection.connected_elements.
- #331 Add
voltage_typeto theplot_voltage_phasorsfunction to be able to plot the voltages in phase-to-phase or phase-to-neutral. Theplot_symmetrical_voltagesfunction now plots each sequence in a separate axes for better readability. - #330 Add phase-to-phase (
res_voltages_pp) and phase-to-neutral (res_voltages_pn) voltage results for terminal elements. Voltage unbalance results are now available for all terminal elements with theres_voltage_unbalancemethod. - #328 Support floating neutrals for transformers. The
Transformerclass constructor now accepts optionalconnect_neutral_hvandconnect_neutral_lvparameters to specify if the neutral is to be connected to the bus's neutral or to be left floating. By default the neutral is connected when the bus has a neutral and left floating otherwise. - #328 The
plot_voltage_phasorsfunction and theplot_symmetrical_voltagesfunctions now also support transformers, lines and switches. - #325 Rename
Bus.potentialstoBus.initial_potentials. The old attribute and constructor parameter are deprecated and will be removed in a future release. 319 #320 #321 #191 Deprecate the notion of "primary" and "secondary" sides of transformers in favor of "high-voltage" and "low-voltage" sides following the IEC 60076-1 standard. The following parameters of
rlf.Transformerare deprecated and renamed:bus1_id,bus2_id->bus_hv_id,bus_lv_idphases1,phases2->phases_hv,phases_lv
The attributes bus1, bus2, phases1, phases2, winding1, winding2, phase_displacement are still available. They are aliases to newly added attributes bus_hv, bus_lv, phases_hv, phases_lv, whv, wlv, and clock respectively. The old attributes will NOT be removed.
The corresponding columns in ElectricalNetwork.transformers_frame and ElectricalNetwork.res_transformers have been renamed as well. The old columns have been removed.
- #318 Implement all common and additional three-phase transformer vector groups. Notable addition is transformers with clock number 1, common in North America.
What's Changed
- Improve singular matrix error by @Saelyos in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/301
- De-duplicate the documentation welcome section and fix ipython code-block by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/302
- Fix voltagelevel network result when missing limits by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoad_Flow/pull/303
- Move important modules to top-level by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/304
- Bump astral-sh/setup-uv from 4 to 5 by @dependabot in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/305
- Add missing information and improve performance by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/306
- Make violations of lines and buses per-phase by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/307
- Remove the tutorials by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/309
- Support star and zigzag transformers with non brought out neutrals by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/310
- Improve line enumeration types and fix errors in Coiffier's model by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/311
- DOC: RTD generates sitemap by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/312
- Update network files by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/313
- Version 0.12.0-alpha by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/314
- Centralize the low-level solver code by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/316
- Fix the vector group regex for rlfs by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/317
- Implement more transformer vector groups by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/318
- Use HV and LV for transformers instead of primary and secondary by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/319
- Update the JSON format of transformers by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/320
- Add transformer results aliases and rename dataframes columns by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/321
- Add experimental namespace package
roseau.load_flow_singleby @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/322 - Add branch potentials results by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/325
- Rename
Bus.potentialstoBus.initial_potentialsby @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/326 - Support transformers with floating neutrals by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/328
- Rename BaseClasses to AbstractClasses end export them by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/329
- Add phase-to-phase and phase-to-neutral voltages by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/330
- Improve plotting functions by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/331
- Use covdefaults by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/333
- Add support for impedant ground connections and grounding for terminals and branches by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/335
- Add single short circuits by @Saelyos in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/339
- Improve DGS support by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/340
- Compute the transformer's tests results if not provided by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/341
- Warn when a line or a switch connects buses with different nominal voltages by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/343
- Remove the transformer specific results by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/345
- Add DGS import/export to loadflowsingle by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/342
- [single] Fix segfault when adding a shunt line to existing network by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/347
- Add inner currents and powers results for the loads by @Saelyos in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/348
- Fix invalid transformer params with no leakage reactance by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/350
- Improve the support of the network CRS by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/351
- Update networks and fix inner current conversion for flexible loads by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/352
- Restore the CRS to the catalogue networks by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/354
- Version 0.12.0 by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/353
Full Changelog: https://github.com/RoseauTechnologies/RoseauLoadFlow/compare/v0.11.0...v0.12.0
- Python
Published by benoit9126 about 1 year ago
roseau_load_flow - Version 0.12.0-alpha
A new alpha version to test the new features :tada:
- Some improvements of the underlying engine:
- Simplify the center-tapped transformer model in order to improve the convergence speed (especially in case of a short-circuit).
- Add the backward-forward algorithm for the single-phase transformers.
- Improve the error message if a singular matrix is detected.
- Build the engine using the
manylinux_2_34image for Linux distributions (previously it wasmanylinux_2_28).
- #311 Add French aliases to line enumeration types.
- #311 Fix
TypeErrors in theLineParameters.from_coiffier_model. The error message of invalid models now indicates whether the line type or the conductor material is invalid. - #310 #308 Support star and zig-zag windings with non-brought out neutral. In earlier versions, vector groups like "Yd11" were considered identical to "YNd11".
- #307 #296 Make
line.res_violatedandbus.res_violatedreturn a boolean array indicating if the corresponding phase is violated. This is consistent with the dataframe resultsen.res_linesanden.res_buses_voltages. For old behavior, useline_or_bus.res_violated.any(). - #305 Add missing
tapcolumn toen.transformers_frame. - #305 Add
element_typecolumn toen.potential_refs_frameto indicate if the potential reference is connected to a bus or a ground. - #305 Add missing information to
results_to_dictwithfull=True. This addsloadingto lines and transformers,voltage_levelsto buses, andvoltagesto loads and sources. - #305 Improve the performance of
res_violatedof buses, lines and transformers. - #304 Add top-level modules
rlf.constantsandrlf.types. The old modules in theutilspackage are deprecated and will be removed in a future release. Theutilspackage is for internal use only and should not be considered stable. - #304 Add top-level module
rlf.symfor symmetrical components utilities. Thesym_to_phasor,phasor_to_symandseries_phasor_to_symfunctions are moved from therlf.convertersmodule to this module. The old functions are deprecated and will be removed in a future release. - #303 Fix missing
voltage_levelinen.res_buses_voltageswhen the buses define nominal voltage but not voltage limits. - #303 Add
rlf.SQRT3constant for the square root of 3. It can be useful for the conversion between phase-to-phase and phase-to-neutral voltages. - #303 Improve the performance of some dataframe properties.
- #301 #299 Improve the error message when the Jacobian matrix contains infinite or NaN values.
What's Changed
- Improve singular matrix error by @Saelyos in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/301
- De-duplicate the documentation welcome section and fix ipython code-block by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/302
- Fix voltagelevel network result when missing limits by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoad_Flow/pull/303
- Move important modules to top-level by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/304
- Bump astral-sh/setup-uv from 4 to 5 by @dependabot in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/305
- Add missing information and improve performance by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/306
- Make violations of lines and buses per-phase by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/307
- Remove the tutorials by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/309
- Support star and zigzag transformers with non brought out neutrals by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/310
- Improve line enumeration types and fix errors in Coiffier's model by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/311
- DOC: RTD generates sitemap by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/312
- Update network files by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/313
- Version 0.12.0-alpha by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/314
Full Changelog: https://github.com/RoseauTechnologies/RoseauLoadFlow/compare/v0.11.0...v0.12.0-alpha
- Python
Published by benoit9126 over 1 year ago
roseau_load_flow - Version 0.11.0
This release adds official support for Python 3.13 and adds a new experimental backward-forward solver. :tada:
Breaking changes
- The
min_voltageandmax_voltageofBushave been replaced bynominal_voltage(phase-to-phase, in V), amin_voltage_level(unitless) and amax_voltage_level(unitless). - The
typeparameter ofTransformerParametersconstructors becomesvgfor vector group. Replacetype="single"byvg="Ii0"andtype="center"byvg="Iii0". - The
typeattribute ofTransformerParametersnow returnsthree-phase,single-phaseorcenter-tapped. UseTransformerParameters.vgto get the vector group. - The names of the transformers in the catalogue have been modified to add voltage levels and vector groups. Use
rlf.TransformerParameters.get_catalogue()to see the updated catalogue. - The
max_current,section,insulator_typeandconductor_typeparameters of theLineParametersclass are renamed toampacities,sections,insulatorsandmaterialsrespectively. The new parameters accept arrays of values, one per conductor. - The enumeration
InsulatorType.UNKNOWNis removed. Please useNoneif the insulator is unknown. - The definition of constant-current loads is modified to be the magnitudes of the currents and their phase shift from the voltages instead of the absolute phase shift. Currents should no longer be rotated by 120° to be in sync with the voltages.
Deprecations
- The enumerated classes
InsulatorTypeandConductorTypeare renamed toInsulatorandMaterialrespectively. Their old names are deprecated and will be removed in a future release. - The deprecated method
LineParameters.from_name_mvis removed.
Detailed changes
- #293 Fixed
loadingcalculation for lines and transformers - #291 Fixed several bugs in JSON serialization and deserialization.
289 #264 Improve the
TransformerParametersclass and the transformers catalogue- Add 15kV transformers to the catalogue (SE and FT)
- Add single-phase transformers to the catalogue (Schneider Imprego)
- Add step-up transformers to the catalogue (Cahors "Serie Jaune")
- Use the correct LV side no-load voltage as defined in the datasheets (some 400V became 410V)
- Revert #282 to keep the IEC 600076 names
uhvandulvfor the transformer voltages. - Replace the
typeparameter ofTransformerParametersconstructors byvgfor vector group. TransformerParameters.typenow returnsthree-phase,single-phaseorcenter-tapped. UseTransformerParameters.vgto get vector group.- Modify the names of the transformers in the catalogue to add voltage levels and vector groups
285 #279 Add maximum loading for lines and transformers.
- The constructors of
TransformerandLinenow accept a unitlessmax_loadingparameter equal to 1 (=100%) by default. - The parameter
max_currentsofLineParametersis now calledampacities. - The
Lineclass gained a new propertymax_currentsthat returns the maximal admissible currents (in Amps) for each conductor:line.max_current = line.parameters.ampacity * line.max_loading. - The
res_violatedproperty ofTransformerandLinenow take into account thismax_loading. - The
LineandTransformerclasses have a newres_loadingproperty to compute the loading of the element: line.res_loading = line.res_currents / line.parameters.ampacitiestransformer.res_loading = sum(transformer.res_powers) / transformer.parameters.sn
- The constructors of
286 The deprecated method
LineParameters.from_name_mvis removed.283 Several changes related to the
LineParameters:- The
max_current,section,insulator_typeandconductor_typeparameters are renamed tomax_currents,sections,insulatorsandmaterialsrespectively. The new parameters accept arrays of values, one per conductor. - The class method
from_geometrynow accepts several additional arguments related to the neutral (material_neutral,insulator_neutral,max_current_neutral) - The enumerated classes
InsulatorTypeandConductorTypeare renamed toInsulatorandMaterial. Their old names are deprecated and will be removed in a future release. - The insulator
UNKNOWNis removed. Please useNoneif the insulator is unknown. - The insulator
NONEis added. It must be used to describe conductors without insulator. - The catalogue has now several additional columns related to the neutral parameters (resistance, reactance, susceptance, material, insulator, maximal current). The
get_catalogueand thefrom_cataloguemethods have been changed to accept filter on the columns (material_neutral,insulator_neutral,section_neutral)
- The
281 Add official support for Python 3.13.
278 #280 Modify the
Busvoltage limits:- The
min_voltageandmax_voltageparameters and attributes ofBushave been replaced bynominal_voltage(phase-to-phase, in V), amin_voltage_level(unitless) and amax_voltage_level(unitless). Busgained a new propertyres_voltage_levelsthat returns the voltage levels of the bus as a percentage of the nominal voltage;- The JSON file format also changed to take into account these changes. If a
min_voltageormax_voltageexisted in a file of a previous version, they are lost when upgrading the file.
- The
277 Fix the definition of constant current loads to be the magnitudes of the currents and their phase shift from the voltages instead of the absolute phase shift. Currents should no longer be rotated by 120° to be in sync with the voltages.
276 Add a backward-forward solver (experimental).
275 Use uv instead of Rye as dependency manager.
273 Dynamically calculate the stacklevel of the first frame outside of
roseau.load_flowfor warnings272 #271: Fix segfault when phases of a potential reference are not the same as the bus phases.
270 Use Rye instead of Poetry as dependency manager.
269 Optimize the SVG files of the documentation.
268 Set up ReadTheDoc to automatically compile the documentation.
267 Add a section in the documentation on Google Colab secrets.
What's Changed
- Activate License in Google Colab by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/267
- DOC: ReadTheDoc by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/268
- [DOC] Optimize svg by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/269
- Use Rye intead of Poetry by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/270
- Fix segfault when phases of pref are not the same as the bus by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/272
- Dynamically calculate the stacklevel of the first frame outside of
roseau.load_flowfor warnings by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/273 - Use uv by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/275
- Backward forward by @Saelyos in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/276
- Fix constant current loads definition by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/277
- Modify the voltage limits of buses by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/280
- ENH: Python 3.13 by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/281
- ENH: Rename
uhvandulvby @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/282 - Enhancements of
LineParameters: arrays and new enumerated types by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/283 - ENH: Remove the deprecated
from_name_mvmethod by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/286 - ENH: Add
max_loadingon lines and transformers by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/285 - ENH: LineParameters contains 4x4 matrices by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/287
- Revert "ENH: LineParameters contains 4x4 matrices" by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/288
- ENH: factorize some code by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/290
- Add more vector groups and more transformers to the catalogue by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/289
- Fix bugs in JSON serialization by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/291
- Bump astral-sh/setup-uv from 3 to 4 by @dependabot in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/292
- Update documentation, fix lines and transformers loading by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/293
- DOC: Download LFS files to build the documentation on ReadTheDoc by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/295
- Version 0.11.0 by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/294
Full Changelog: https://github.com/RoseauTechnologies/RoseauLoadFlow/compare/v0.10.0...v0.11.0
- Python
Published by benoit9126 over 1 year ago
roseau_load_flow - Version 0.10.0
A lot of improvements :tada:
[!IMPORTANT] There is a main breaking change in this version. The constructor of the class
ElectricalNetworkhas changed: - it accepts keyword arguments only. - it accepts the argumentslines,transformersandswitchesin replacement of the argumentbranches. - As a consequence, - the results methodres_brancheshas been removed. Please useres_lines,res_transformersandres_switchesmethods instead. - the fieldbranchesdoes not exist anymore. Please use the fieldslines,transformersandswitches.
- A wheel for Python 3.13 is available.
- The wheels for Windows are now available. The problem was the same as the one of the issue 28551 of the Matplotlib repository.
- #237 Improvements of the Sphinx configuration.
- #262 Raise a proper error when a transformer is defined with null impedance.
- #259 The cache of the license object was not reset after the activation of a new license key.
- #258 #261 #263 Add basic plotting functionality in the new
roseau.load_flow.plottingmodule. Theplot_interactive_mapfunction plots an electrical network on an interactive map using the folium library and theplot_voltage_phasorsfunction plots the voltage phasors of a bus, load or source in the complex plane. The revamped plotting section of the documentation demonstrates the plotting functionalities available in Roseau Load Flow with examples. - #258 The documentation gained a new "advanced" section with a page on floating neutrals and a page on potential references.
- #257 #252 Updates to the
LineParametersclass:- The method
from_name_lv, deprecated since version 0.6, has been removed. It can be easily replaced by thefrom_geometrymethod. - The method
from_name_mvis deprecated. A new methodfrom_coiffier_modelis added with the same functionality and more flexibility. The new method computes the ampacity of the line based on Coiffier's model and works with different numbers of phases.
- The method
- #256 #250:
- Accept scalar values for the
powers,currents,impedancesparameters of the load classes. - Add
rlf.PositiveSequence,rlf.NegativeSequenceandrlf.ZeroSequencevectors for easier creation of balanced quantities.
- Accept scalar values for the
- #255 Update the figures of loads and of voltage sources in the documentation to be compliant with the work of #249.
- #254 #251 Allow passing multiple phases to potential references. The
phaseattribute of thePotentialRefis replaced byphases. - #249 #248 Accept scalar values for the
voltagesparameter of theVoltageSourceclass. - #247 Add
connect_neutralparameter to the loads and sources constructor to specify if the neutral is to be connected to the bus's neutral or to be left floating. This allows loads connected to the same bus to have different neutral connections. The default behavior remains the same as before where the neutral is connected when the bus has a neutral and floating otherwise. - #246 Improvements to the
rlf.convertersmodule:- Fix
series_phasor_to_symfunction with series that have different phases per element. - Make
calculate_voltagestake array-like potentials. - Improve typing of several functions.
- Fix
- #245 #244 Fix the
LineParameters.from_geometrymethod to not crash when passedunknowninsulator type orNone. - Add
res_voltagesto theVoltageSourceclass for symmetry with the other elements.res_voltagesis always equal to the suppliedvoltagesfor a voltage source. - #243 Fix cross-sectional area of DGS line types created from line elements and special case invalid PwF line geographical coordinates table.
- #240 Add tests for switches imported from DGS and improve warning and error messages.
- #235 BREAKING CHANGE: The constructor of the class
ElectricalNetworkhas changed:- it accepts keyword arguments only.
- it accepts the arguments
lines,transformersandswitchesin replacement of the argumentbranches. - As a consequence,
- the results method
res_brancheshas been removed. Please useres_lines,res_transformersandres_switchesmethods instead. - the field
branchesdoes not exist anymore. Please use the fieldslines,transformersandswitches.
- #235 Move the
Switchclass into its own fileroseau/load_flow/models/switches.py. - #235 #239 The JSON file format number is upgraded to the version 2. All the files in version 0 or 1
can still be read. Please upgrade them manually using the following code:
python path = "my_json_file.json" ElectricalNetwork.from_json(path).to_json(path) - #235 The method
results_to_dictnow accepts the keyword-only argumentfullwhich allows the export of all the results of an element. - #235 Solve a bug concerning the accessors to the flexible powers result of flexible power loads. An unwanted error was raised.
- #235 Replace the occurrences of the
str.findmethod by thestr.indexfunction. - #235 The method
to_graphof the classElectricalNetworknow retrieves a graph with additional data store in the edges depending on the edge type: line, transformer or switch. - #242 Add optional data to the
TransformerParametersclass: manufacturer, efficiency and range. - #242 Fixed a bug in the unit of
q_minandq_maxin the constructor ofFlexibleParameter. - #242 Add equality operator for the classes
FlexibleParameter,ControlandProjection.
- Python
Published by benoit9126 over 1 year ago
roseau_load_flow - Version 0.9.1
Several improvements to better support importing PowerFactory models.
- #231 Add LineParameters.from_power_factory and TransformerParameters.from_power_factory
methods to easily import PowerFactory lines and transformer models into Roseau Load Flow.
- #230 Improve the algorithm for assigning potential references for DGS networks.
- #229 Several fixes and improvements to the PowerFactory import:
- Update the "Export Definition Folder" bundled with Roseau Load Flow as a pfd file;
- Support lines with missing type ID. This is the case when the
TypLneobjects are inherited from an external library in PowerFactory and not included in the project being exported; ALineParametersobject is automatically created for these lines; - Support "General Load (
ElmLod)" elements; - Preserve Geometry information on buses and branches;
- Improve handling of phases of several elements. Previously, phases were hard-coded.
- Fix the unit of the power of static generators;
- Fix the re-sizing of the matrices of line types without neutral elements;
- Fix the total power of "MV Loads (
ElmLodmv)" to take into account its generation power; - Fix all loads to no longer ignore the scale factor of the power;
- Fix the sign of the reactive power of MV and LV loads
- Fix the ground connection to the source bus
- And many more...
Please refer to the Data Exchange page for more information.
[!NOTE] Windows binaries (wheels) are temporarily unavailable since version 0.9.0. If you need them, please open an issue on GitHub.
What's Changed
- Several fixes and improvements to DGS support by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/229
- Improve asssigning of potential refs in DGS networks by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/230
- Add frompowerfactory methods to parameters classes by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/231
- Version 0.9.1 by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/233
Full Changelog: https://github.com/RoseauTechnologies/RoseauLoadFlow/compare/v0.9.0...v0.9.1
- Python
Published by benoit9126 almost 2 years ago
roseau_load_flow - Version 0.9.0
A lot of improvements :tada: !
- #227 Sources and loads are now allowed to have floating neutrals. This means that a load/source
with
phases="abcn"can now be connected to a bus withphases="abc". - #225 The
calculate_voltagesfunction now accepts and return pint quantities. - MacOS wheels for roseau-load-flow-engine are now published on PyPI. This means that
pip install roseau-load-flowshould now work on macOS. - Added support for running in Google Colab documents.
- Fixed a bug in license checks caching on Windows.
- Added support for Numpy 2.0.
- #222 #223
from_catalogue()methods of the electrical network and transformer and line parameters now perform "full match" comparison on textual inputs. If you need the old behavior, use regular expression wild cards.*in the input string. - #220 #221 Add
LineParameters.from_open_dssandTransformerParameters.from_open_dssmethods to easily import OpenDSS lines and transformer models into Roseau Load Flow. More information is available in the documentation of these methods. - #210 #219 Add a parameter to
LineParameters.from_catalogueto choose the number of phases of the created line parameters object. - #218 Add
Transformer.res_power_lossesto get the total power losses in a transformer. - #217 Add an ID override to
TransformerParameters.from_cataloguesimilar toLineParameters.from_catalogue. - #216 #217 BREAKING CHANGE: Rename the
idparameter ofTransformerParameterscatalogue methods tonameto be consistent withLineParameters. If you call these methods by keyword arguments, make sure to update your usage ofTransformerParameters.from_catalogue(id="xxx")toTransformerParameters.from_catalogue(name="xxx"). - #212 BREAKING CHANGE: Modify the constructor of
TransformerParametersto take thez2andymparameters directly instead of the open and short circuit tests parameters. You can still create an object from these tests using thefrom_open_and_short_circuit_testsconstructor. This change comes with other changes toTransformerParameters, notably:- The
z2,ym,k, andorientationare now always available as attributes on the instance - The
to_zykmethod is deprecated in favour of the direct attribute access on the instance. This method will be removed in a future version - The parameters
i0,p0,psc, andvscare now optional. They return None for instances created usingz2andymdirectly - The JSON representation of
TransformerParametershas changed, but it is still compatible with the old representation.
- The
What's Changed
- Modify the
TransformerParametersconstructor by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/212 - Modify TransformerParameters fromcatalogue method by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoad_Flow/pull/217
- Add Transformer.respowerlosses by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/218
- Allow users to specify nb phases of line parameters from catalogue by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/219
- Add fromopendss method to line and transformer parameters by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/221
- Fix fromcatalogue textual match with literal string inputs by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoad_Flow/pull/223
- Update the docs by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/224
- Make calculatevoltages unit aware by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoad_Flow/pull/225
- Add a page about data exchange to the docs by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/226
- Allow floating neutrals for loads and sources by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/227
- Version 0.9.0 by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/228
Full Changelog: https://github.com/RoseauTechnologies/RoseauLoadFlow/compare/v0.8.1...v0.9.0
- Python
Published by benoit9126 almost 2 years ago
roseau_load_flow - Version 0.8.1
A correction and documentation improvement:
- #214 Solve a bug in the engine when using delta connected flexible loads.
- #213 Better detection of poorly connected elements as described in #209. It raises a proper error
message.
- #211 Several improvements of the documentation:
- Add Open Graph metadata to the documentation page.
- Error on the susceptance unit in the tables of the LineParameters' catalogue.
- Replot the networks of the catalogue (add a H1 title, use the Raleway font, only plot the lines to add their
parameters id in the tooltip)
What's Changed
- Improvements of the documentation (opengraph, networks' catalogue plotting) by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/211
- Poorly connected elements by @Saelyos in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/213
- Version 0.8.1 by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/215
Full Changelog: https://github.com/RoseauTechnologies/RoseauLoadFlow/compare/v0.8.0...v0.8.1
- Python
Published by benoit9126 about 2 years ago
roseau_load_flow - Version 0.8.0
Here comes the version 0.8.0 of Roseau Load Flow :tada: The main changes are: * The three-phase transformer model had issues that are now solved. * A flexible power load can now have a zero power. This is useful for time-series simulations.
The detailed modifications are listed here:
- #207 Fix a bug in the zig-zag three-phase transformer model that led to incorrect active power flow in the
transformer. The bug affected the 50 kVA transformers that have the type Yzn11 in the catalogue.
- #206 #187 Un-deprecate results_to_dict/json methods and remove deprecated
results_from_dict/json methods.
- #205 #200 Fix error when propagating the potentials from a voltage source with fewer phases
than the bus.
- #204 #193 Remove restrictions on geometry types. Allow specifying the CRS of the geometries.
- #203 #186 Detect invalid element overrides when connecting a new element with the
same ID and type of an existing element.
- #202 #188 Explicitly prevent instantiation of abstract classes.
- #201 #185 Add type attribute to the load classes and rename branches branch_type
attribute to type for consistency. Please replace branch.branch_type by branch.type in your code.
In addition, loads data frames gained two new columns:
1. type indicating the load type: constant-(power, current, impedance);
2. and flexible indicating if the load is flexible.
- #197 Fix a bug in three-phase transformer models that led to excessive reactive power flow in the transformer.
- #199 Add Schneider Electric EcoDesign transformers to the catalogue. These are tagged with the AA0Ak
efficiency class. Other internal data have been added to the catalogue for testing purposes.
- #198 Simplify the storage of the transformer catalogues. This is an internal change that should not have
effects on user code.
- #196 #194 Improve the error message when accessing res_flexible_powers on a non-flexible load
and relax the flexible parameters plotting methods to accept an array-like of voltages.
- #195 Use latexindent.pl to automatically indent LaTeX files in the documentation.
- #192 Speed up results access by up to 3x using several optimization techniques. This is especially
noticeable in timeseries simulations and when accessing results of large networks.
- #184 Improve the documentation to have a better SEO (sitemap, metadata and canonical URLs). The navigation
menu has also been improved.
- #183 #181 Update the networks catalogue to better represent the real networks.
LV loads are made single-phase, MV sources are connected in delta, and MV buses lost their neutral.
Voltage, current, and power limits are added to the buses, lines, and transformers.
The line parameters IDs are also updated to match the new line parameters catalogue.
- #182 Improve the error message when trying to access results on the network before running the load flow.
- #189 Allow flexible loads to have a null active theoretical power.
What's Changed
- Improve error message when network results do not exist by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/182
- Update networks catalogue by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/183
- DOC: Improve metadata and navigation menu by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/184
- Null active power for flexible loads by @Saelyos in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/189
- Bump pre-commit/action from 3.0.0 to 3.0.1 by @dependabot in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/190
- Optimize results by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/192
- DOC: LatexIndent by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/195
- Small improvements to flexible loads by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/196
- Simplify the transformers catalogue by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/198
- Update the transformers catalogue by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/199
- Fix a bug in 3-ph transformer models by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/197
- Add load.type and rename branch.branchtype by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoad_Flow/pull/201
- Explicitly prevent the instantiation of abstract classes by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/202
- Detect invalid element overrides by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/203
- Remove restrictions on geometry types and allow custom CRS by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/204
- Improve potentials propagation by @Saelyos in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/205
- Un-deprecate resultstodict and remove resultsfromdict by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/206
- Transformer tests by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/207
- Version 0.8.0 by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/208
Full Changelog: https://github.com/RoseauTechnologies/RoseauLoadFlow/compare/v0.7.0...v0.8.0
- Python
Published by benoit9126 about 2 years ago
roseau_load_flow - Version 0.7.0
[!IMPORTANT] Starting with this version, Roseau Load Flow is no longer supplied as a SaaS. The software is available as a standalone Python library. Please contact us at contact@roseautechnologies.com in order to get a license key.
This release includes:
- Fix a bug in the engine: it was impossible to change the parameters of center-tapped and single phase transformers.
- #179 Fix a bug in the propagation of potentials when a center-tapped transformer is used without neutral at the primary side.
- #178 #176 Merge the results_to_json, results_from_json, results_to_dict and results_from_dict methods of the ElectricalNetwork and Elements classes into the methods to_json, from_json, to_dict and from_dict respectively. The old results_ methods are deprecated and will be removed in a future release. The new methods will include the results by default, but you can pass include_results=False to exclude them.
- #175 #174 Fix JSON serialization of network with line parameters created from the catalogue.
- #173 Remove the conda installation option.
It also includes all the modifications of the alpha release #171 :
- #168 #166 Fix initial potentials' propagation.
- #167 #161 Add a catalogue of lines using the IEC standards. You can use the method
LineParameters.get_catalogue()to get a data frame of the available lines and the methodLineParameters.from_catalogue()to create a line from the catalogue. Several line types, conductor material, and insulation types have been updated. Physical constants have been updated to match the IEC standards where applicable. - #167 The class
LineParametersnow takes optional argumentsline_type,conductor_type,insulator_typeandsection. These parameters are accessible as properties. They are filled automatically when creating a line from the catalogue or from a geometry. - #167 Replace all
print_catalogue()methods byget_catalogue()methods that return a data frame instead of printing the catalogue to the console. - #167 Enumeration classes no longer have a
from_stringmethod, you can call the enumeration class directly with the string value to get the corresponding enumeration member. Case-insensitive behavior is preserved. - #167 #122 Add checks on line height and diameter in the
LineParameters.from_geometry()alternative constructor. This method will try to guess a default conductor and insulation type ifNoneis provided. - #163 BREAKING CHANGE: roseau-load-flow is no longer a SaaS project. Starting with version 0.7.0, the software is distributed as a standalone Python package. You need a license to use it for commercial purposes. See the documentation for more details. This comes with a huge performance improvement but requires a breaking change to the API:
- The
ElectricalNetwork.solve_load_flow()method no longer takes anauthargument. - To activate the license, you need to call
roseau.load_flow.activate_license("MY LICENSE KEY")or set the environment variableROSEAU_LOAD_FLOW_LICENSE_KEY(preferred) before callingElectricalNetwork.solve_load_flow(). More information in the documentation. - Several methods on the
FlexibleParameterclass that previously requiredauthare changed. Make sure to follow the documentation to update your code.
- The
- #163 #158 Fix
ElectricalNetwork.res_transformersreturning an empty dataframe when max_power is not set. - #163 Several unused exception codes were removed. An
EMPTY_NETWORKcode was added to indicate that a network is being created with no elements. - #163 Remove the
ElectricalNetwork.res_infoattribute.ElectricalNetwork.solve_load_flow()now returns the tuple (number of iterations, residual). - #163 Remove the
Bus.clear_short_circuits()andElectricalNetwork.clear_short_circuits()methods. It is currently not possible to clear short-circuits from the network. - #163 Improve performance of network creation and results access.
- #163 Attributes
phasesandbusare now read-only on all elements. - #151 Require Python 3.10 or newer.
What's Changed
- Update to Python 3.10 by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/151
- Bump conda-incubator/setup-miniconda from 2 to 3 by @dependabot in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/152
- Bump actions/upload-pages-artifact from 2 to 3 by @dependabot in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/153
- Bump actions/deploy-pages from 2 to 4 by @dependabot in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/154
- Bump actions/setup-python from 4 to 5 by @dependabot in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/155
- Bump actions/configure-pages from 3 to 4 by @dependabot in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/156
- Bump actions/upload-artifact from 3 to 4 by @dependabot in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/157
- Fix restransformers returning an empty dataframe by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoad_Flow/pull/163
- Moving away from SaaS, step 1 by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/164
- Moving away from SaaS, step 2 by @Saelyos in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/165
- Potentials propagation by @Saelyos in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/168
- Add lines catalogue and getcatalogue method by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoad_Flow/pull/167
- Add missing changelog entries by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/170
- Version 0.7.0-alpha by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/171
- Bump actions/cache from 3 to 4 by @dependabot in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/172
- Remove conda by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/173
- Fix bug when serializing line parameters with numpy values by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/175
- Merge and deprecate results serialization methods by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/178
- Bug in
propagate_potentialswith "center" transformer types by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/179 - Version 0.7.0 by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/180
Full Changelog: https://github.com/RoseauTechnologies/RoseauLoadFlow/compare/v0.6.0...v0.7.0
- Python
Published by benoit9126 over 2 years ago
roseau_load_flow - Version 0.7.0-alpha
[!IMPORTANT] Starting with version 0.7.0, Roseau Load Flow will no longer be supplied as a SaaS. The software will be available as a standalone Python library. Please contact us at contact@roseautechnologies.com in order to get a license key.
- #168 #166 Fix initial potentials' propagation.
- #167 #161 Add a catalogue of lines using the IEC standards. You can use the method
LineParameters.get_catalogue()to get a data frame of the available lines and the methodLineParameters.from_catalogue()to create a line from the catalogue. Several line types, conductor material, and insulation types have been updated. Physical constants have been updated to match the IEC standards where applicable. - #167 The class
LineParametersnow takes optional argumentsline_type,conductor_type,insulator_typeandsection. These parameters are accessible as properties. They are filled automatically when creating a line from the catalogue or from a geometry. - #167 Replace all
print_catalogue()methods byget_catalogue()methods that return a data frame instead of printing the catalogue to the console. - #167 Enumeration classes no longer have a
from_stringmethod, you can call the enumeration class directly with the string value to get the corresponding enumeration member. Case-insensitive behavior is preserved. - #167 #122 Add checks on line height and diameter in the
LineParameters.from_geometry()alternative constructor. This method will try to guess a default conductor and insulation type if none is provided. - #163 BREAKING CHANGE: roseau-load-flow is no longer a SaaS project. Starting with version
0.7.0, the software is distributed as a standalone Python package. You need a license to use it for
commercial purposes. See the documentation for more details. This comes with a huge performance
improvement but requires a breaking change to the API:
- The
ElectricalNetwork.solve_load_flow()method no longer takes anauthargument. - To activate the license, you need to call
roseau.load_flow.activate_license("MY LICENSE KEY")or set the environment variableROSEAU_LOAD_FLOW_LICENSE_KEY(preferred) before callingElectricalNetwork.solve_load_flow(). More information in the documentation. - Several methods on the
FlexibleParameterclass that previously requiredauthare changed. Make sure to follow the documentation to update your code.
- The
- #163 #158 Fix
ElectricalNetwork.res_transformersreturning an empty dataframe when max_power is not set. - #163 Several unused exception codes were removed. An
EMPTY_NETWORKcode was added to indicate that a network is being created with no elements. - #163 Remove the
ElectricalNetwork.res_infoattribute.ElectricalNetwork.solve_load_flow()now returns the tuple (number of iterations, residual). - #163 Remove the
Bus.clear_short_circuits()andElectricalNetwork.clear_short_circuits()methods. It is currently not possible to clear short-circuits from the network. - #163 Improve performance of network creation and results access.
- #163 Attributes
phasesandbusare now read-only on all elements. - #151 Require Python 3.10 or newer.
- Python
Published by benoit9126 over 2 years ago
roseau_load_flow - Version 0.6.0
A new version with the following improvement/bug correction
Note: This is the last release to support Python 3.9!
- #149 #145 Add custom pint wrapper for better handling of pint arrays.
- #148 #122 deprecate
LineParameters.from_name_lv()in favour of the more genericLineParameters.from_geometry(). The method will be removed in a future release. - #142 #136 Add
Bus.res_voltage_unbalance()method to get the Voltage Unbalance Factor (VUF) as defined by the IEC standard IEC 61000-3-14. - #141 #137 Add
ElectricalNetwork.to_graph()to get anetworkx.Graphobject representing the electrical network for graph theory studies. Install with the"graph"extra to get networkx.ElectricalNetworkalso gained a newbuses_clustersproperty that returns a list of sets of IDs of buses that are connected by a line or a switch. This can be useful to isolate parts of the network for localized analysis. For example, to study a LV subnetwork of a MV feeder. Alternatively, to get the cluster certain bus belongs to, you can useBus.get_connected_buses(). - #141 Add official support for Python 3.12. This is the last release to support Python 3.9.
- #138 Add network constraints for analysis of the results.
- Buses can define minimum and maximum voltages. Use
bus.res_violatedto see if the bus has over- or under-voltage. - Lines can define a maximum current. Use
line.res_violatedto see if the loading of any of the line's cables is too high. - Transformers can define a maximum power. Use
transformer.res_violatedto see if the transformer loading is too high. - The new fields also appear in the data frames of the network.
- Buses can define minimum and maximum voltages. Use
- #133 #126 Add Qmin and Qmax limits of flexible parameters.
- #132 #101 Document extra utilities including converters and constants.
- #131 #127 Improve the documentation of the flexible loads.
- Add the method
compute_powersmethod to theFlexibleParameterclass to compute the resulting flexible powers for a given theoretical power and a list of voltage norms. - Add the
plot_control_p,plot_control_qandplot_pqmethods to theFlexibleParameterclass to plot the control curves and control trajectories. - Add the extra
plotto installmatplotlibalongsideroseau-load-flow.
- Add the method
- #131 Correction of a bug in the error message of the powers setter method.
- #130 Mark some internal attributes as private, they were previously marked as public.
- #128 Add the properties
z_line,y_shuntandwith_shuntto theLineclass. - #125 Speed-up build of conda workflow using mamba.
What's Changed
- Improve conda workflow by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/125
- Add some shortcuts to the Line class by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/128
- Fix pint warnings and remove conditional import by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/129
- Mark internal attributes as private by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/130
- Add a doc page about converters and constants by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/132
- Flexible load documentation ++ by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/131
- Add Qmin and Qmax limits by @Saelyos in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/133
- Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/134
- Improve catalogue printing on dark background and narrow screens by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/135
- Add network constraints for load flow analysis by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/138
- Add API reference to the models pages by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/139
- Add support for Python 3.12 and networkx graphs by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/141
- Add voltage unbalance calculation by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/142
- Make the installation page more beginner friendly by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/143
- Fix typing of numpy arrays by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/144
- Improve the typing of pint wrapped method by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/147
- Deprecate
LineParameters.from_name_lvmethod by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/148 - Add custom pint wrapper by @Saelyos in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/149
- Version 0.6.0 by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/150
Full Changelog: https://github.com/RoseauTechnologies/RoseauLoadFlow/compare/v0.5.0...v0.6.0
- Python
Published by benoit9126 over 2 years ago
roseau_load_flow - Version 0.5.0
New version! :tada:
Main changes: - Short circuit computation - Single-phase and center- tapped transformers - Catalogues for networks and transformers - Improvement of the documentation - Docker image not maintained anymore
Exhaustive changelog:
- #121 #68 Improvements of the LineParameters constructor:
- Delete the LineModel class
- Simplify the from_dict method
- Rename and refactor the method from_lv_exact into from_geometry.
- Add documentation for the LineParameters alternative constructors.
- Rename InsulationType into InsulatorType.
- Allow the letter "U" for "Underground" line type (only "S" for "Souterrain" in French was accepted). The same
with the letter "O" for "Overhead" line type (only "A" for "Aérien" in French was accepted).
- Remove the field "model" from the JSON serialization of LineParameters.
- #120 Fix phases of flexible power results.
- #119 Add explicit error message for singular jacobian.
- #118 #95
- Add a catalogue of three-phase MV/LV distribution transformers.
- Remove the class method TransformerParameters.from_name.
- #117 Add prettier to pre-commit
- #116
- Add a catalogue of networks.
- Add a plotting page to the documentation.
- #115
- Reformat the tutorials in the documentation.
- Split the "Advanced" tutorial in several smaller files.
- Remove the Docker installation option.
- #114 Use Pint >=0.21 to have the percent unit.
- #113 Raise an error when accessing the results of
disconnected elements.
- #112 Make the geometry serialization optional.
- #106 Improvements for non-euclidean projections.
- #104 Remove roseau.load_flow.utils.BranchType.
- #99 Add Line.res_series_currents
and Line.res_shunt_currents properties to get the currents in the series and shunt components
of lines. Also added ElectricalNetwork.res_lines that contains the series losses and currents
of all the lines in the network. The property ElectricalNetwork.res_lines_losses was removed.
- #100 Fix the Yz transformers.
- #97 Add the model section to the documentation.
- #96
- Add single-phase transformer.
- Add center-tapped transformer.
- Remove the roseau.load_flow.utils.TransformerType enumeration.
- #93 Add short-circuit computation.
- #92
- Add the changelog in the documentation.
- Use NodeJs 20 in the Dockerfile.
- Correction of a dead link in the README.
What's Changed
- Post 0.4.0 release bug by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/92
- Short circuits by @Saelyos in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/93
- Update pre-commit by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/94
- Single-phase and split phase transformers by @Saelyos in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/96
- Do not hide function signature when using
ureg.wrapsby @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/98 - Documentation by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/97
- Add properties to get the line series and shunt currents by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/102
- Rename
Bus.short_circuittoadd_short_circuitby @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/103 - Remove BranchType and use strings instead by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/104
- Make internal class attributes private by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/105
- Update non-euclidean projections by @Saelyos in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/106
- Make dgs available for engine by @Saelyos in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/107
- Documentation fixes by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/108
- Bump actions/upload-pages-artifact from 1 to 2 by @dependabot in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/109
- Temporarily disable problematic link in the docs by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/110
- Make the geometry serialization optional by @Saelyos in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/112
- Error when accessing results of disconnected elements by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/113
- Update pint minimal requirement by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/114
- Reformat tutorials and delete docker by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/115
- Catalogue of networks by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/116
- Add prettier to pre-commit by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/117
- Add a catalogue of transformers by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/118
- Add explicit error message for singular jacobian by @Saelyos in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/119
- Fix flexible powers by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/120
- Line parameters by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/121
- Shorter github links in the changelog by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/123
- Version 0.5.0 by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/124
Full Changelog: https://github.com/RoseauTechnologies/RoseauLoadFlow/compare/v0.4.0...v0.5.0
- Python
Published by benoit9126 almost 3 years ago
roseau_load_flow - Version 0.4.0
New features
- Add different solving methods.
- Increase default alpha values for flexible parameters.
- Rename precision and final_precision to tolerance and residual
- Rename isolation into insulation
- Improve performances for large networks
- Raise error for bad transformer parameters
- Rename resolution_method into solver
Documentation - Correction of small errors in the documentation - Add some LaTeX images from the LaTeX documentation - Point the docs to conda-forge instead of GitHub release page - Add links to the website/GitHub/LinkedIn of Roseau Technologie
What's Changed
- DOC: LaTeX images by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/72
- Update the conda docs by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/75
- Bump actions/deploy-pages from 1 to 2 by @dependabot in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/77
- Raise error for bad transformer parameters by @Saelyos in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/79
- Improve performances for large networks by @Saelyos in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/80
- Solvers review by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/83
- Add solvers by @Saelyos in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/82
- Add a changelog file by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/84
- Rename
precisionandfinal_precisionby @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/85 - Rename isolation into insulation by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/86
- [DOC] Add american standards in LaTeX generated figures by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/87
- Solver update by @Saelyos in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/88
- Update dependencies, change Self type by @Saelyos in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/89
- Modification before release 0.4.0 by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/91
- Version 0.4.0 by @Saelyos in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/90
Full Changelog: https://github.com/RoseauTechnologies/RoseauLoadFlow/compare/v0.3.0...v0.4.0
- Python
Published by benoit9126 almost 3 years ago
roseau_load_flow - Version 0.3.0
A lot of new features and improvements. A short list of them:
- All network elements have an
idwhich must be unique among the same type of elements. - The argument
n(number of ports) has been replaced by aphase(s)argument which can be for instancean,abc,abcn,ca, etc. - The classes
SimplifiedLineandShuntLinehave been merged into a single classLinewhose behaviour depends on the providedLineParameters. - The classes
DeltaDeltaTransformer,DeltaWyeTransformer,DeltaZigzagTransformer,WyeDeltaTransformer,WyeWyeTransformerandWyeZigzagTransformerhave been replaced by a singleTransformerclass whose behaviour depends on the providedTransformerParameters. - The classes
LineCharacteristicsandTransformerCharacteristicshave been renamed toLineParametersandTransformerParameters. - The classes
AdmittanceLoadandDelatAdmittanceLoadhave been removed. Please useImpedanceLoadinstead, with the desiredphasesargument. - The classes
DeltaImpedanceLoadandDeltaPowerLoadhave been removed. Please use the classesImpedanceLoadandPowerLoadinstead withphases="abc". - The class
FlexibleLoadhas been removed. Please use the newflexible_paramsargument of thePowerLoadclass constructor. - The
VoltageSourceis not a subclass of the classBusany more. It is now an independent element that can be connected to a bus just like a load. - All elements are aware of the network they belong to. This helps the user avoid mistakes (connecting elements from different networks). It also allows showing user warnings when accessing outdated results.
- All properties for retrieving results are now prefixed by
res_. - Additional results per elements:
res_potentials,res_voltages,res_series_losses,res_line_losses, etc. - Pandas Data frame results: now, every result can be retrieved in Pandas Data frame from the
ElectricalNetworkinstance. These methods are also prefixed byres_. - All physical inputs can be given as quantities (magnitude and unit) using the
Q_class. - All results (except Pandas data frame) are quantities (magnitude and unit).
- Elements can all be serialized as JSON.
- Results of an
ElectricalNetworkcan be serialized as JSON and read from a JSON file. - The documentation has been improved.
What's Changed
- Documentation by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/5
- Fixes and improvements by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/6
- Bus voltage by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/7
- Documentation improvements by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/8
- Simplify Line classes by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/10
- Simplify Transformer classes by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/11
- Simplify the Bus classes by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/12
- Simplify the loads by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/13
- Phases not ports by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/14
- All elements have id and are json serializable by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/22
- Rename line and transformer characteristics to parameters by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/23
- Simplify ElecticalNetwork by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/24
- Merge FlexibleLoad into PowerLoad by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/25
- New json format by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/26
- Implement a showversion function for bug reports by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoad_Flow/pull/29
- Improve the elements interface by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/28
- Make
net.res_buses_voltagesa property by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/33 - Transformer phases update by @Saelyos in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/36
- Add tests for the v0 to v1 converter so it doesn't go out of sync by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/37
- Set up conda package by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/38
- Small fixes by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/39
- Floating neutrals in loads and sources do not work yet by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/40
- Only build conda package on the main branch by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/41
- Fix failing doc builds by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/42
- Elements are aware of the network by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/44
- Add a method to get the powers of the loads by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/43
- Separate models from core to break import cycles by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/45
- Miscellaneous improvements by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/46
- Fix
res_voltagesand make voltage calculation public by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/47 - Return results of ground potential and pref current by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/48
- Make
connected_elementsprivate by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/50 - Add
VoltageSource.res_currentsproperty by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/51 - Fix default phases for lines where the second becomes 'ac' by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/52
- Fix network results missing some keys by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/54
- Bump actions/configure-pages from 2 to 3 by @dependabot in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/53
- Compatibility with the server by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/55
- Rename voltagesource(s) to source(s) by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoad_Flow/pull/56
- Power flow calculation by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/57
- Warm start argument to
solve_load_flowby @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/58 - Improve installations docs and API reference by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/59
- Units for public methods by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/60
- Upgrade the test and doc network files by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/61
- Some improvements by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/64
- Update the tutorials by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/62
- Final pass on the documentation by @alihamdan in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/65
- Version 0.3.0 by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/66
New Contributors
- @alihamdan made their first contribution in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/6
- @Saelyos made their first contribution in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/36
- @dependabot made their first contribution in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/53
Full Changelog: https://github.com/RoseauTechnologies/RoseauLoadFlow/compare/v0.2.1...v0.3.0
- Python
Published by benoit9126 over 3 years ago
roseau_load_flow - Version 0.2.1
Quelques améliorations pour fonctionner avec Docker Desktop. Cette fusion sera également l'occasion de tester le déploiement des pages d'aide
What's Changed
- Version 0.2.1 by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/4
Full Changelog: https://github.com/RoseauTechnologies/RoseauLoadFlow/compare/v0.2.0...v0.2.1
- Python
Published by benoit9126 over 3 years ago
roseau_load_flow - Version 0.2.0
- Ajout d'un fichier Docker pour les premiers clients
- Correction de quelques confusions dans les
VoltageSource - Correction du constructeur de
LineCharacteristics. - Améliorations de la documentation (images, formules, etc)
- Ajout des exemples de réseaux
What's Changed
- Docker pour le G2ELab by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/2
- Version 0.2.0 by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/3
Full Changelog: https://github.com/RoseauTechnologies/RoseauLoadFlow/compare/v0.1.0...v0.2.0
- Python
Published by benoit9126 over 3 years ago
roseau_load_flow - Version 0.1.0
Toute première version de la bibliothèque cliente du service de load flow
What's Changed
- First version by @benoit9126 in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/1
New Contributors
- @benoit9126 made their first contribution in https://github.com/RoseauTechnologies/RoseauLoadFlow/pull/1
Full Changelog: https://github.com/RoseauTechnologies/RoseauLoadFlow/commits/v0.1.0
- Python
Published by benoit9126 over 3 years ago