Cancel
Showing results for 
Search instead for 
Did you mean: 

Graph variable time instead of percent

Valued Contributor
Valued Contributor

Hi everyone,

 

I have a simulation where I count the num of finished Entities at the end of my simulation and plot them into a graph. It is working perfectly.

 

My only problem:

The number is counted not by their arriving time its given as percentage.

Now I can see how many percent of my production already arrived but I would rater like to see at which time the Entities arrive. That's why I want to change the Y-Axis form the variable percentage the the variable time.

 

Is this possible?

 

Thank you.

Best regards,

IceTea

 

8 REPLIES

Re: Graph variable time instead of percent

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
have a look in the object TimeSequence (information flow, see help).
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Graph variable time instead of percent

Valued Contributor
Valued Contributor

Hey Steffen_B,

 

thank you for your answer. But could you be please more precise?

I actually don't know what you mean...

 

Thank You.

 

Best regards,

IceTea

Re: Graph variable time instead of percent

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
I see two ways:
- take a chart - set the type plotter and plot the data
- take a timeSequence - record the values of your variable in a certain interval - drag the timeSequence to a chart object
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Graph variable time instead of percent

Valued Contributor
Valued Contributor

pic1.PNG

Okay thanks, than I understood right. So its another problem not the way to do it...

The problem is that I only have 20 Containers that are produced the TimeSequence listed over 100.

 

I don't understand whats happens here...

 

Could you explain it to me?

 

Thank you.

Best regards,

IceTea

Re: Graph variable time instead of percent

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
you need to clean the TimeSequence at the start of the experiment, e.g. insert a method into your frame, name it "init" and write into the method:
timeSequence.delete
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Graph variable time instead of percent

Valued Contributor
Valued Contributor

What a method I don't even have one...?

I'm a total beginner a have no idea by programming...

I did everything with the drag and drop function...

Re: Graph variable time instead of percent

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
it is easy, in the folder information flow you will find the method; drag the method into your frame, rename it in "init", open it with doubleclick and type:

timeSequence.delete

That's it.
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Graph variable time instead of percent

Valued Contributor
Valued Contributor

it was really easy and works perfect.

 

Thank You!