Cancel
Showing results for 
Search instead for 
Did you mean: 

Network with referencees to other Networks

Valued Contributor
Valued Contributor

Hi,

 

i have a project with 8 Networks in it and one Network "NetworkController". They all are quite big and i want them all run together at the "NetworkController" Network. Can I have references of the Networks in the "NetworkController" ? So that i can edit all the networks in there own Network but when i run the "NetworkController" they all will be started. The problem is when i use the Frame from Materialflow and simply drag and drop them i have problems with all the methods where i call eg. "Network1" but now i need to call "NetworkController.Network1".

 

So is there a simple solution or do i need to do this with the Frame tool from Materialflow ?

 

thx for your help Smiley Happy

3 REPLIES

Re: Network with referencees to other Networks

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

the calls in the networks keep the same: you need only to set the main-network before the method name, if you call from the main-network a method in a sub-network. You need to include the sub-networks into one frame, if one EventController should control the experiments in all sub-networks.

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Network with referencees to other Networks

Valued Contributor
Valued Contributor

If they don't need to be necessarily in one network so They just have to run all at the same time (so it would be fine to have 8 networks and 8 EventControllers running the same time) is there a way i can do this ?

Re: Network with referencees to other Networks

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

only one EventContoller can run at the same time in a model file, so I guess it is the only way to insert the networks into one frame object.

 

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net