Example: Bridge settings for drums
- Last UpdatedSep 04, 2024
- 1 minute read
This topic shows an example of the typical bridging settings for drums.
-
Standard tank levels are expressed in percentage. The AVEVA™ Dynamic Simulator variable to route is .LFRAC.
-
The MWPL ItemLiquidLevel .value is in the 0-1 range.
Code example
This code shows an example of the typical bridging settings for drums.
<mapping type="ItemLiquid" name="C_10030,D_10060,D_10080">
<shares>
</shares>
<dynsim>
<analog name="S{name}.LFRAC" direction="in" mode="router" uom="%"/>
</dynsim>
<mwpl>
<sfloat name="{name}.value" capture="false"/>
</mwpl>
<rules>
<trigger to="mwpl:{name}.value" from="dynsim:S{name}.LFRAC" value="#@dynsim:{name}.LFRAC@/100#" />
</rules>
</mapping>