Cancel
Showing results for 
Search instead for 
Did you mean: 

How to calculate area on Plant Simulation

Pioneer
Pioneer

Dear Plant Simulation Experts,

 

Hello. I need your help.

 

I am about to calculate area for some goods.

 

I already know length & width for them and I designed Sources & Drains each obejcts for those.

 

after processing them, I want Plant Simulation to show those goods accumulated area automatically.

 

What is best solution for that ?

 

Would you plz post your good ideas for that?

 

Thanks in adavnce !

 

6 REPLIES

Betreff: How to calculate area on Plant Simulation

Gears Phenom Gears Phenom
Gears Phenom

Hi Beagle,

 

I don't understand what exactly you want to do.

 

Do you want to show the accumulated area (sum over each MUs "length*width") that has gone through the drain or while the MUs are in a buffer or...?

 

And how do you want to show this value - as a number, in a chart, as a colored area in the network which dynamically adjusts to the acuumulated area, or...?

 

Best Regards,

Alex

____________________________________________________________
Alex Dilg, Consultant at SimPlan AG (www.SimPlan.de)
This post was good and/or helpful to you? Please provide some Kudos, thank you!

Betreff: How to calculate area on Plant Simulation

Pioneer
Pioneer

Dear Alex,

 

 

Thank you for your kind comment.

 

Actually, I want to show accumulated area through some objects such as drain or store and so on in number first automatically.

 

For example,  there are some 100 MUs (1 MU size : length 3m  & width 2m).

 

Then, as you know, we need at least 600 m2 area.

 

I want to show this kind of accumulated area in Plant Simulation with Method or built-in some information and so on.

 

Do you have any good idea for that ?

 

Thanks in advance.

 

 

BR,

Beagle.  

 

 

Betreff: How to calculate area on Plant Simulation

Gears Phenom Gears Phenom
Gears Phenom

Hi Beagle,

 

try this:

 

1. Place a Variable-object from the toolbox "Information Flow" next to the Drain and name it, e.g., v_cumArea (or v_cumArea1/2/3... if you have several drains)

2. Open the dialog of v_cumArea and check the box "Initial Value"; you can also change the datatype to Real, if you like, depending on whether all your MU's have an integer length and width (like you said: 3m*2m) or not.

3. Open the Drain-dialog, go to tab Controls, right-click into the field for Entrance and select "Create Control (F4)".

4. In the auto-created method OnEntrance, type this (if you use SimTalk 1.0, enter the code after "do" and before "end;"):

	-- cumulate the total area
	v_cumArea := v_cumArea + (@.MUlength * @.MUwidth);

5. Run the model Smiley Happy

 

If you use the datatype Real instead, you may want to use this code instead:

	-- cumulate the total area
	v_cumArea := round(v_cumArea + @.MUlength * @.MUwidth, 4);

 

IF all your MU's have the same size anyway, so the cumulated area is just

3m*2m*TotalThroughput

then you could do this instead:

1. Place a Display from toolbox "User Interface" next to the Drain.

2. Drag-and-drop the Drain onto the Display

3. Open the Display-dialog, and add "3*2*" into the field "Path" at the beginning; write "**bleep**. Area [m2]: " into the field "Comment".

4. Run the model Smiley Happy

 

 

Regards,

Alex

 

 

____________________________________________________________
Alex Dilg, Consultant at SimPlan AG (www.SimPlan.de)
This post was good and/or helpful to you? Please provide some Kudos, thank you!

Betreff: How to calculate area on Plant Simulation

Pioneer
Pioneer

Dear Alex,

 

 

Thank you for your kind comments.

 

I will try it as your suggestions.

 

Thanks in advance !

 

 

BR,

Beagle.

Betreff: How to calculate area on Plant Simulation

Gears Phenom Gears Phenom
Gears Phenom

Hi Beagle,

I saw your answer in the other thread, so here's some more hints:

You can use a similar approach to show the area used by all MU's currently in a buffer (or ParallelProc):

  • Do what I wrote for the Drain-EntranceControl instead for the Buffer/ParallelProc Entrance-Control
  • In addition, auto-create an Exit-Control for it in the same way (check "Rear" and uncheck "Front"!), where you input this:
	-- cumulate the total area
	v_cumArea := round(v_cumArea - @.MUlength * @.MUwidth, 4);
  • In this way, v_cumArea always shows you how much space/area is used up by the MU's that are currently inside the buffer/parallelProc.
  • --> What you did before (with the drain) was to show the total area used over the whole simulation time.

Best Regards,
Alex

 

____________________________________________________________
Alex Dilg, Consultant at SimPlan AG (www.SimPlan.de)
This post was good and/or helpful to you? Please provide some Kudos, thank you!

Betreff: How to calculate area on Plant Simulation

Pioneer
Pioneer

Dear Mr.Alex,

 

Thank you for your kind comments !

 

 

BR,

Beagle.