Message Boards

Back

Delft3dFM + D-RTC error

YZ
Yafei Zhu, modified 1 Month ago.

Delft3dFM + D-RTC error

Youngling Posts: 1 Join Date: 8/4/11 Recent Posts

Hi Everyone, 

I am trying to set up an integrated delft3dFM+ RTC model. I would like to use dead band trigger for pump control. However, the current GUI does not seem to support this feature. So I modified the rtcToolsConfig.xml and add the following:

<trigger>
            <deadBand id="test">
                <conditionOn>
            <x1Series ref="EXPLICIT">input_ObservationPoint01_water_level</x1Series>
                    <relationalOperator>Greater</relationalOperator>
                    <x2Value>2</x2Value>
                </conditionOn>
                <conditionOff>
            <x1Series ref="EXPLICIT">input_ObservationPoint01_water_level</x1Series>
                    <relationalOperator>Less</relationalOperator>
                    <x2Value>1.8</x2Value>
                </conditionOff>
                <true>
                <trigger>
                <ruleReference>run1</ruleReference>
                </trigger>
                </true>        
                        
                <false>
                <trigger>
                <ruleReference>run2</ruleReference>
                </trigger>
                </false>        
                <output>
                 <status>output1</status>
                </output>            
            </deadBand>
 </trigger>

xmlspy did not complain but when I run the model it gave me the following error:

  <line description="rtcToolsRuntime::rtcToolsRuntime(...) - error - trigger* schematisation::getTrigger(TriggerComplexType triggerType) - error - trigger is not implemented" level="1"/>

Can anyone please let me know what may have caused above error? Many Thanks. 

 

Yafei 
 

delft3d fm d-rtc dead band trigger