Ticket #41 (new enhancement)

Opened 5 months ago

Last modified 4 months ago

Standardized definition of units in Modelica (also for money)

Reported by: otter Owned by: HansOlsson
Priority: low Milestone: ModelicaSpec3.1
Component: --Modelica Specification-- Version: 2.2.2
Severity: minor Keywords:
Cc: Hide ticket:

Description

Request from Francois Celler to introduce a standardized form how unit relationships are formally defined in Modelica. Especially, that also non SI units, such a "Dollar" etc. can be defined.
Should be discussed again in design group.

Attachments

Change History

Changed 4 months ago by HansOlsson

Currencies are somewhat interesting for at least the following reasons:

  • Time-varying conversion. Converting dollar to Euro we will need different conversions at different points in time. Thus if some cost is given in "Dollar" and someone wants to see the cost in "Euro" it will depend on the time.
  • Time-varying - future values are often discounted in various ways to make them comparable. This discount of future values is model-dependent - and can be controversial - e.g. for evaluating the impact of global warning.

If the time is included in the unit the same variable will have different units over time; or a mapping from "time" in Modelica to actual time. If the time is not included in the unit the conversion to other currencies is not well-defined.

This will not always matter, but it will depend on the intended applications and thus more information is needed on the applications.

Add/Change #41 (Standardized definition of units in Modelica (also for money))

Author



Action
as new
 
Note: See TracTickets for help on using tickets.