Package net.simplace.sim.control.selectors
package net.simplace.sim.control.selectors
-
ClassesClassDescriptionSelects the simulation from a project, which fits best to some error method:
Configuration
The user has to specify
- the error method cMode
- the two variables, that will be compared (normally observed and simulated data) as cObserved1 and cSimulated1
- the frequency at which the selector compares the values
Configuration in project file is given as
| <selector id="LeastDifference" class="net.simplace.sim.control.selectors.LeastDifferenceSelector" frequence="YEARLY"> | <input id="cMode">RRMSE</input> | <input id="cObserved1" mode="MAX" source="data.obs"/> | <input id="cSimulated1" mode="MAX" source="model.sim"/> | </selector>
Output
- id of selected simulation as a one size CHARARRAY selectecsimulations
- error of selected simulation ErrorValue
- errors of all simulations ErrorValues as DOUBLEARRAY
- the error method ErrorMethod used
Notice
This generator uses the WeightedLeastDifferenceSelector with only one variable and weight 1 to calculate errors and select the simulation.
Example implementation of a simple selector.Selects the simulation with the best error/deviation for multiple target variables.