Page 1 of 1

How to make a new project (re)start ?

Posted: Tue Jun 20, 2017 7:48 am
by oOLauraOo
Hello,
I would like to represent the work and time remaining during a refurbishment operation in order to determine the workforce required for the project month after month. It works perfectly only for one renovation cycle starting at Time=0, but I cannot manage to make the cycle restart once a year for instance.
I would like the level variables "Work remaining" and "Time remaining" to be "re-activated" with their specified initial values when renovation=1.
Renovation can be 0 or 1. It is 0 when no renovation occures, and it is 1 at (MODULO(Time,12)=0).
The level variable "Work remaining" is defined with the initial value : surface*renovation (m², 0 if renovation=0) ; and the active value : +failure rate-real workflow
The level variable "Time remaining" is defined with the initial value : XIDZ(délais,renovation,:NA:) (month, the supposed duration of the project) ; and the active value : -1 (time decreasing).
Please find in attachment a picture showing the model. I'm sorry this is partially in french !
Can you please advise me on how to manage initial values to match renovation cycles ?
Thank you,

Laura

Re: How to make a new project (re)start ?

Posted: Tue Jun 20, 2017 12:39 pm
by Administrator
Can you upload the correct model? I cannot see "work remaining" or "Time remaining" in the screen shot.

The usual way to do this is to have a trigger variable,
trigger = if then else ( MODULO(Time,12)=0 , 1 , 0 )
and then reset the level using

reset level = trigger * level initial value / time step