Search found 7 matches

by niallnaidoo
Mon Mar 08, 2021 5:21 pm
Forum: Ventity
Topic: Accumulating stocks for calculations during a process list action
Replies: 6
Views: 4886

Re: Accumulating stocks for calculations during a process list action

Hi Tom,

I'm open to a workaround, been trying to figure out one myself but lucked out. A fix might be a better idea overall though as I'm using this kind of functionality in two different process list actions.
Thanks
Niall
by niallnaidoo
Fri Mar 05, 2021 7:15 pm
Forum: Ventity
Topic: Accumulating stocks for calculations during a process list action
Replies: 6
Views: 4886

Re: Accumulating stocks for calculations during a process list action

I think I'm not understanding you on this. How does the lion keep track of the mass it has gained as it eats cows to know what fraction of the last cow to consume (calculate the quantity of the flow)? By internal stock, are you saying that any stock that exists only in the action (such as the "...
by niallnaidoo
Fri Mar 05, 2021 3:40 pm
Forum: Ventity
Topic: Accumulating stocks for calculations during a process list action
Replies: 6
Views: 4886

Accumulating stocks for calculations during a process list action

Hi, I've made a simpler model based on the cow and pasture example to illustrate my problem. In this modified model, a lion eats cows in the pasture till it achieves a target mass. The stock of the cow's mass flows to the lion. There is another flow to a stock of rotting cow that is in the pasture. ...
by niallnaidoo
Thu Sep 03, 2020 5:55 pm
Forum: Ventity
Topic: Object reference not set to an instance of an object runtime error
Replies: 6
Views: 5050

Re: Object reference not set to an instance of an object runtime error

Yes, it happens when I try to run the model using version 3. Version 4 shuts Ventity down without displaying an error, so I've reverted to version 3.
by niallnaidoo
Wed Sep 02, 2020 4:18 pm
Forum: Ventity
Topic: Object reference not set to an instance of an object runtime error
Replies: 6
Views: 5050

Object reference not set to an instance of an object runtime error

Hi, I'm having trouble locating the cause of the issue of this NullReferenceException runtime error, as far as I can see all entities have their keys and time starts initialised in the built-in data file. What could be the causes of this? Details pasted, thanks: Product: Ventity Version: 1.0.0.0 Ass...