RoseauTechnologies / Roseau_Load_Flow

A powerful 3-phase load flow solver, by Roseau Technologies
https://roseau-load-flow.roseautechnologies.com
BSD 3-Clause "New" or "Revised" License
56 stars 0 forks source link

ENH: Add the load type to the json file #238

Closed alihamdan closed 2 months ago

alihamdan commented 3 months ago

The load type is not added to the JSON file. Currently we check for the existence of a powers key in the load dictionary to know if the load is a PowerLoad, currents key for CurrentLoad, etc. It would be nicer for the GUI if we had this field directly in the file. Additionally, it will be also useful to add the same field to the results JSON file as in this file it is impossible to know the type of the load used.

This can be done as part of version 2 transition.