Hello,
I have created the attached model on Vensim PLE.My aim is to optimise the transport costs by altering the weight and volume of the shipment.
Here are my queries :
1.Can two different variables with different units be used with a If Then Else statement.(Ex: in Volumetic weight).When I run the simulation,the graph is a constant for volumetric weight(parallel to x axis).
2.Is Shipment = Volume * weight? or some other relation?
Since this is my first attempt at creating a model,please provide me with your suggestions for the equations behind the variables as well and model structure.
Thanks,
If Then Else condition
If Then Else condition
- Attachments
-
- new Model.mdl
- (3.39 KiB) Downloaded 152 times
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: If Then Else condition
You can do something like "IF (time > 10 , x , y)", x and y must be the same units. But the "time > 0" can be different. The equation for "Volumetic weight" in your model is a little strange, what are you trying to do here?Karthik wrote:1.Can two different variables with different units be used with a If Then Else statement.(Ex: in Volumetic weight).
It should be measured in "articles/month". I don't understand what you are trying to work out in the model so cannot comment any further.Karthik wrote:2.Is Shipment = Volume * weight? or some other relation?
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
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: If Then Else condition
the thing is if volume of the shipment is greater than 1 cubic metre ,then weight of shipment(kg) is multiplied by 200 and then the freight net is charged for this new weight(kg),if the volume is less than 1 cubic metre,the freight net is charged for the actual weight(kg) of the shipment
Re: If Then Else condition
shipment are the articles sent in cartons which have a weight and volume and transported in pallets,how can this be interpreted in the model?Please help
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Re: If Then Else condition
Why don't you start with the "articles". Each one must have a weight, so multiply the number of articles to be shipped by the weight, this will give you the shipping cost.
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
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559