How to write the equation of following three elements in my

Use this forum to post Vensim related questions.
Post Reply
Dan
Junior Member
Posts: 3
Joined: Wed Jan 29, 2014 7:17 pm
Vensim version: PLE

How to write the equation of following three elements in my

Post by Dan »

Dear Vensim:
How to write the equation of following three elements in my model?

Correction: is a level with the initial value 0. During the simulation it contains the tasks that shall be corrected and is emptied by the flow
controlled by CorrectionRate.

CorrectionPart: decides how much of the test tasks that needs to be
corrected and is assumed to be an S-shaped graph with values between
25 and 47 % depending on InadequateReq/InitialFunctionality. The
value 25 % is assumed to be a minimal value of the amount of defect
code delivered to the test phase when InadequateReq/Initial
Functionality reaches its lowest possible value. In addition to this, a
bad requirement specification will increase the CorrectionPart up to
47 % as the amount of InadequateReq increases.


Correction Productivity : decides the amount of correction that is made
in one day. It is a graph depending on NbrOfCorrectingPersonnel,
where one person corrects 0.5 FP/day, which is a value that has been
calculated iteratively. The productivity/person decreases when the
amount of personnel increases, because the communication level
decreases

Other relevant elements are
(CorrectionAmount regulates the flow of tasks to be corrected. While
the project is running, i.e. MS 3 is not yet reached, the flow continues.
IF THEN ELSE(Milestone3 =0,Correction Part*Test Task Completed,0)

CorrectionRate =Min(CorrectionProductivity,Correction)
Controls the rate of the flow of tasks from correction and is either equal
to CorrectionProductivity or the remaining part of the tasks to be
corrected. The unit is FP/day.

Inadequate Requirements= INTEG (
Inadequate Requirements Rate,
0)

Initial Functionality=
STEP( Lines of code/Statements , 2 )+STEP( Lines of code*1.2/Statements ,
10 )-STEP( Lines of code*0.2/Statements , 18 )+STEP( Lines of code
*1.4/Statements , 26 )-STEP( Lines of code*0.5/Statements , 34 )+STEP( Lines of code
*1.1/Statements , 42 )-STEP( Lines of code*1.4/Statements , 50 )
Administrator
Super Administrator
Posts: 4832
Joined: Wed Mar 05, 2003 3:10 am

Re: How to write the equation of following three elements in

Post by Administrator »

This looks like it's coursework or homework.

It would be best if you tried doing it. Then if you run into difficulties, post what you have done and a description of why you think your model is not working.

Tony.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
tomfid
Administrator
Posts: 3988
Joined: Wed May 24, 2006 4:54 am

Re: How to write the equation of following three elements in

Post by tomfid »

Take a look at the help system - the User Guide and Model Guide sections contain project models that are relevant to these questions.
Post Reply