Definition of User Defined Connection Variables
Hi,
I'm trying to create an ACTIONX keyword to execute an action based on a connection gas flow rate summary vector: I've tried with CGFR, CGFRL CGFRF and CGPR. All runs abort stating that the keyword is not supported in ACTIONX. Is there an a;ternative summary vector that I may use?. I['ve also tried defining an UDQ based on CGFR with no success.
Thanks a lot,
Mariano Fernandez
I'm trying to create an
ACTIONXkeyword to execute an action based on a connection gas flow rate summary vector: I've tried withCGFR,CGFRL,CGFRF, andCGPR. All runs abort stating that the keyword is not supported inACTIONX.
Would you mind elaborating a little on how you're writing these conditions, please? Do you spell out "scalar" values of the form
CGFR 'PROD-01' 11 22 33 > 1234.56
or do you use some kind of wildcard/pattern matching in the condition? What diagnostic message do you get?
Is there an alternative summary vector that I may use?
WIthout knowing more about the problem you're facing, I can't really give any specific advice.
I've also tried defining an
UDQbased onCGFRwith no success.
Right. At the moment, the simulator does not support connection-level UDQs. We added segment-level UDQs in the 2023.10 release, but connection-level UDQ don't even exist in the current development sources.
Thanks a lot for your reply.
-
The syntax I'm using for the ACTIONX is:
ACTIONX S10 3/ CGFR 'AN1' 83 49 14 < 100000 / / COMPDAT 'AN1' 83 49 14 14 5* 10.1 / / ENDACTIO -
The diagnostic message I get is:
Simulation aborted as program threw an unexpected exception: Could not allocate the problem: Keyword category 'Connection' (e.g., summary keyword CGFR) is not supported in ACTIONX (on rank 0)
Kind regards,
Mariano Fernandez