...
When using coefficient set functions (available since build 30246), the a, b, c and type elements can contain tags between "@" signs (e.g. "@NUMBER@") that refer to location attributes that are defined in the locationSets configuration file. The tags are replaced by actual values. These values can be different for different locations and time periods. See 22 Locations and attributes defined in CSV files, Shape-DBF files or external tables for more information.
a
Coefficient a in equation
...
Code Block | ||||
---|---|---|---|---|
| ||||
<variable> <variableId>input</variableId> <timeSeriesSet> <moduleInstanceId>DischargeStagePowerWithCoefficientSetFunctionsTest</moduleInstanceId> <valueType>scalar</valueType> <parameterId>Q.m</parameterId> <locationId>locationWithAttributes1</locationId> <timeSeriesType>external historical</timeSeriesType> <timeStep unit="day"/> <relativeViewPeriod unit="day" start="0" end="60"/> <readWriteMode>editing visible to all future task runs</readWriteMode> </timeSeriesSet> </variable> <variable> <variableId>output</variableId> <timeSeriesSet> <moduleInstanceId>DischargeStagePowerWithCoefficientSetFunctionsTest</moduleInstanceId> <valueType>scalar</valueType> <parameterId>H.m</parameterId> <locationId>locationWithAttributes1</locationId> <timeSeriesType>external historical</timeSeriesType> <timeStep unit="day"/> <relativeViewPeriod unit="day" start="0" end="60"/> <readWriteMode>add originals</readWriteMode> </timeSeriesSet> </variable> <transformation id="discharge stage power with coefficient set functions test"> <dischargeStage> <power> <discharge> <variableId>input</variableId> </discharge> <coefficientSetFunctions> <a><at:var at:name="A" /><<a>@A@</a> <b><at:var at:name="B" /></<b>@B@</b> <c><at:var at:name="C" /></<c>@C@</c> <type><at:var at:name="type" /><<type>@type@</type> </coefficientSetFunctions> <stage> <variableId>output</variableId> </stage> </power> </dischargeStage> </transformation> |