Skip to content

[Feature Request]: Report Power and Energy Units in More Readable Formats #70

@jarsarasty

Description

@jarsarasty

Is there an existing issue for this?

  • I have searched the existing issues

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:

  • 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.

This feature request is based on this discussion.

Proposed workflow

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions