It has been suggested that power and energy units in results should be reported in more readable units such as MW, kW, or GJ instead of Wh. This change would make it easier to interpret the data, especially for large values, and reduce the risk of errors associated with converting units manually.
Proposed solution:
Frontend Implementation: Modify the frontend to display power and energy units in more readable formats (e.g., MW, kW, GJ) based on user preferences.
Backend Consistency: Ensure the backend continues to use SI units without multipliers to maintain consistency and avoid errors.
Unit Conversion: Integrate the pyESDL module’s on-the-fly unit conversion capabilities into the UI to facilitate seamless unit changes.
User Customization: Allow users to define their preferred units for profiles and KPIs, ensuring flexibility and ease of use.
Users can define their preferred units for profiles, results and KPIs.
Additional information
Implementation in TPG's front-end is relatively straightforward.
It's important to maintin SI units in the backend to avoid errors.
While ESDL uses SI units, profiles and KPIs can be defined with multipliers (e.g., MW, GJ, kW). The pyESDL module supports on-the-fly unit conversion, and upcoming updates to the MapEditor will include improved data visualization.
Integration of unit conversion in the UI is planned for the upcoming months as part of the MapEditor rework.
@rdrijvers will discuss with the TPG team the efford required: 1) implementing default unit multiplier, 2) allowing the user to select the unit multiplier.
Is there an existing issue for this?
What would your feature do ?
It has been suggested that power and energy units in results should be reported in more readable units such as MW, kW, or GJ instead of Wh. This change would make it easier to interpret the data, especially for large values, and reduce the risk of errors associated with converting units manually.
Proposed solution:
This feature request is based on this discussion.
Proposed workflow
Users can define their preferred units for profiles, results and KPIs.
Additional information