add an algebraic VAR

asked Apr 17 '18

KyleA gravatar image

updated May 16 '18

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!

Comments

1

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

perolofl gravatar imageperolofl (Apr 18 '18)

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 (May 16 '18)

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 (May 16 '18)

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 (May 18 '18)