add an algebraic VAR

asked 2018-04-17 15:14:58 -0600

KyleA gravatar image

updated 2018-05-16 15:34:38 -0600

I have some old IPLAN code that I'm trying to convert to Python. Apparently a depracated function of DOCU would read in an interface flow file and create the tabulated VAR in the dynamics file. The VAR could then be located and used as an output channel.

It seems that I will have to create this functionality from scratch, which shouldn't be a problem to parse the list and add the individual branches. My problem is that the documentation is missing any description of how to create custom VAR functions. Does anyone know how to do this?

Many thanks!

edit retag flag offensive close merge delete

Comments

1

What do you mean with "create custom VAR functions"?

perolofl gravatar imageperolofl ( 2018-04-18 05:39:12 -0600 )edit

The 'docu' function will tabulate and report all ICONS, CONS and VARS being utilized in the dynamics model so you can see what values are assigned where. Knowing a VAR you can assign this to a channel output.

KyleA gravatar imageKyleA ( 2018-05-16 15:32:24 -0600 )edit

Somewhere in time the documentation was lost (on purpose?) for an option of docu to take as input and "INTFLW" file defining interface flows which are then tabulated as part of the dynamics model and assigned to VARS which can then be assigned to channel outputs.

KyleA gravatar imageKyleA ( 2018-05-16 15:33:32 -0600 )edit

As far as I know DOCU has never had such an option. What do you want to do? Do you want to assign the total flow for the lines in the interface to a channel?

perolofl gravatar imageperolofl ( 2018-05-18 05:49:12 -0600 )edit