add an algebraic VAR
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!
What do you mean with "create custom VAR functions"?
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.
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.
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?