show month value with slider;time step =week

Use this forum to post Vensim related questions.
Post Reply
yusuke
Member
Posts: 46
Joined: Sun Apr 27, 2008 11:41 pm

show month value with slider;time step =week

Post by yusuke »

Hello every one.

I want to simulate 5years with time step base "week".
And want to set the starttime with slider.

In SyntheSim ,slider show the value base on week.
I want to show month base value.

In Attached model, auxiliary 'month' is calculated from
starttime by QUANTUM function.
I want show the value 'month' when the slider has changed.

Can I do this?
from yusuke.
Attachments
slidervalue.mdl
(1.92 KiB) Downloaded 221 times
LAUJJL
Senior Member
Posts: 1427
Joined: Fri May 23, 2003 10:09 am
Vensim version: DSS

show slider with months

Post by LAUJJL »

Hi
joined a model that could work.
Regards.
JJ
Attachments
slidervalue[2].mdl
(2.26 KiB) Downloaded 223 times
yusuke
Member
Posts: 46
Joined: Sun Apr 27, 2008 11:41 pm

Post by yusuke »

Thank you LAUJJL.

Your model is interesting using month under a time step week.

But I want to see the slider value only text information.
For example,slider 30<<week>> can't image month direct.
So 30/4=7.5 is need.
I understand that the slider show after 7.5 month when
the simlation has start.

I only show this information in SyntheSim.

Thank you for helping me . yusuke

[Edited on 9-18-2008 by yusuke]
LAUJJL
Senior Member
Posts: 1427
Joined: Fri May 23, 2003 10:09 am
Vensim version: DSS

Post by LAUJJL »

Hi

I am not sure of understanding your need.
you have to choose whether the slider will show values in month or values in week.
A slider will not show both values. You can eventually choose to value the slider in week and calculate another variable that calculates the time in month and show that value on a graph. You will then automatically show the corresponding value in month on the graph.
you can too use instead of a graph a table that will show exactly the value in month as you move the slider in weeks.
Model joined
Regards.
JJ

[Edited on 19-9-2008 by LAUJJL]
Attachments
slidervalue[3].mdl
(2.59 KiB) Downloaded 227 times
yusuke
Member
Posts: 46
Joined: Sun Apr 27, 2008 11:41 pm

Post by yusuke »

Very thank ,LAUJJL.

Your answer is just I need.
To make Graph as table is best way to show the value.
I understand , thank you.
Post Reply