Dear Isis-Fish users, I'm using the ISIS-Fish platform and I'm trying to run a simulation, but I have a problem. The simulation stops at month 0 if I don't select the 'Strategy_new'. Anyone can help me on this? In attached you can find the debug file and the database I'm working with. Sigrid is helping with my case study and she is able to run the simulaitons Thank you so much in advance for your help. Cheers, Silvia -- Dr. Silvia Angelini, Ph.D. Institute of Marine Science (CNR-ISMAR) Largo Fiera della Pesca 60125, Ancona, Italy Phone: 071-2078833 Fax: 071-55313 e-mail: silvia.angelini@an.ismar.cnr.it
Le 16/05/2018 à 16:31, Silvia Angelini a écrit :
Dear Isis-Fish users,
I'm using the ISIS-Fish platform and I'm trying to run a simulation, but I have a problem. The simulation stops at month 0 if I don't select the 'Strategy_new'. Anyone can help me on this? In attached you can find the debug file and the database I'm working with. Sigrid is helping with my case study and she is able to run the simulaitons
Thank you so much in advance for your help. I think this is related to a bug in official simulator scripts.
@Sigrid: The problem is related to result in DefaultSimulator.java line 230: if (resManager.isEnabled(MatrixMetierZone.NAME)) { MatrixND metierZone = siMatrix.getMetierZone(step); resManager.addResult(step, metierZone); } Matrix MetierZone use following semantics : Metiers * Zones So without Strategies, this result can't be computed. Can you confirm this ? -- Éric Chatellier - www.codelutin.com - 02.40.50.29.28
Sorry for the late answer. Was this solved ? If not... The explanation seem very likely. I suggest that you don't select any result related to metier and strategies if you run a simulation without strategy. Can you try this ? @Eric : Do you know why this piece of code is ran before "computeMonth" ? For rule "cantonnement"? at line 249, we run a test on number of strategies to prevent this probleme. Shall we move MatrixMetierZone there or may be simply add a similar test before the part on MatrixMetierZone. Le mer. 16 mai 2018 à 17:08, Eric Chatellier <chatellier@codelutin.com> a écrit :
Le 16/05/2018 à 16:31, Silvia Angelini a écrit :
Dear Isis-Fish users,
I'm using the ISIS-Fish platform and I'm trying to run a simulation, but I have a problem. The simulation stops at month 0 if I don't select the 'Strategy_new'. Anyone can help me on this? In attached you can find the debug file and the database I'm working with. Sigrid is helping with my case study and she is able to run the simulaitons
Thank you so much in advance for your help. I think this is related to a bug in official simulator scripts.
@Sigrid: The problem is related to result in DefaultSimulator.java line 230: if (resManager.isEnabled(MatrixMetierZone.NAME)) { MatrixND metierZone = siMatrix.getMetierZone(step); resManager.addResult(step, metierZone); }
Matrix MetierZone use following semantics : Metiers * Zones So without Strategies, this result can't be computed. Can you confirm this ?
-- Éric Chatellier - www.codelutin.com - 02.40.50.29.28
_______________________________________________ Isis-fish-users mailing list Isis-fish-users@list.isis-fish.org http://list.isis-fish.org/cgi-bin/mailman/listinfo/isis-fish-users
Le 21/08/2018 à 18:54, Sigrid Lehuta a écrit :
Sorry for the late answer. Was this solved ? If not... The explanation seem very likely. I suggest that you don't select any result related to metier and strategies if you run a simulation without strategy. Can you try this ?
@Eric : Do you know why this piece of code is ran before "computeMonth" ? For rule "cantonnement"? I just saw a comment just before this code saying "Keep modification's information done in rule". So, yes, I think it must runs after rule and before "computeMonth". at line 249, we run a test on number of strategies to prevent this probleme. Shall we move MatrixMetierZone there or may be simply add a similar test before the part on MatrixMetierZone. Yes, I can test that.
-- Éric Chatellier - www.codelutin.com - 02.40.50.29.28
participants (3)
-
Eric Chatellier -
Sigrid Lehuta -
Silvia Angelini