question

Sebastien avatar image
0 Likes"
Sebastien asked Sebastien commented

Is it possible to add energy consumption as a parameter in Flexsim ?

Hi all !

I am new to Flexim and am actually trying to figure out what the software is able to do in comparison with other tools.

For instance I would like to add the energy consumption as a parameter for fixed resource (like in MJ per seconds for processing/ set up / down time etc...). Is there a possibility to do it wether with or without coding it ?

I am also interested in the customization of the software with C++. But I can't figure out how much it is customizable. Can we add Fixed resources (like already defined Machines to create a library of the available machine instead of defining them after each drag and drop) ? Fields within the properties folder (for energy consumption for instance) ? or buttons ?

I would really appreciate your help.

Warm regards,

Sébastien

FlexSim 18.0.2
energy consumptioncustomisation
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Steven Hamoen avatar image
3 Likes"
Steven Hamoen answered Braydn T commented

@Sébastien B2 Concerning the energy consumption, yes this is very well possible. There are different solutions. The following are just 5 solution I came up with but there are probably even more:

1. Make a run and at the end ask how long a fixed resource has been in a certain state and multiply the time with energy consumption per second

2. Use a statistics collector and a calculated table to do more or less the same but get it over time

3. set a label on an item when it enters and when it exits calculate the time, multiply that with the energy consumption and add the results to the total on the item or on the fixed resource or log it separate in a table.

4. Change the user interface of an object and create the energy consumption functionality on an existing object

5. create your own object and integrate the energy consumption in it completely.

starting from point 4, if you want to create your own objects, check out the Flexsim SDK Bitbucket repo It contains extensive help and some examples. To answer your questions, everything is customizable, you can start with every existing object and inherit from that or create a completely new object.

If you just want to create a copy of a machine that you already are parameterized, check out the user library concept. There you can store instances and drag those from a library into your model.

If you want to adapt the user interface of an object you can use a module. This is part of the Flexsim SDK so please check that out first.

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Sebastien avatar image Sebastien commented ·

Hi Steven,

Thank you very much for your answer and your various propositions. I will try to implement the fifth one. I am glad to hear anything is customizable and will look deeper in the Flexsim SDK !

have a nice day,

Sébastien

0 Likes 0 ·