open-psa / mef

The Open-PSA Model Exchange Format
https://open-psa.github.io/mef
5 stars 7 forks source link

Make report curve units more flexible/optional #40

Open rakhimov opened 7 years ago

rakhimov commented 7 years ago

Decouple X and Y unit requirements in the curve schema. This allows mixing values with and without units. An example case is probability (unitless) vs. time (hours).

With the coupled schema, both X and Y must or must not have units. The above example would fail to validate.