osate / osate2-gtse

This plugin enables users to automatically explore the trade space of a system by connecting OSATE to Penn State's Trade Space Visualizer tool.
Other
5 stars 0 forks source link

Add language support for assigning properties to features #22

Closed sprocter closed 6 years ago

sprocter commented 7 years ago

The language should support assigning properties to features.

Example input:

configuration cpu_power_scaling (
    power: SEI::PowerBudget from (0.1W .. 300W)
) extends impl::platform::platform.federated {
    cpu.power#SEI::PowerBudget => power
}

Example output:

PropertyValue-bscu.platform.cpu2.power-SEI\:\:PowerBudget-float=0.1,300.0
lwrage commented 6 years ago

Property values can be assigned to features, already. What's missing is

  1. Support parameters as property values.
  2. Use a single range value in the parameter candidate list as a distribution model for the engine configuration API.

Note: The candidate list was originally introduced as an enumeration of possible values that the parameter could take.