arfc / d3ploy

A collection of Cyclus manager archetypes for demand driven deployment
BSD 3-Clause "New" or "Revised" License
4 stars 11 forks source link

cyclus agentexit output table? #249

Closed gwenchee closed 5 years ago

gwenchee commented 5 years ago

When running a cyclus simulation, is a agentexit table expected? In tester.py's get_agent_dict (https://github.com/arfc/d3ploy/blob/ecd876416a8736bf6e36d1fad45e9579f22595c8/d3ploy/tester.py#L375) there is notion of an agentexit table but I do not see its existence in the output sqlite file

gwenchee commented 5 years ago

Does anyone know whether we expect an agentexit table

robfairh commented 5 years ago

This is from one of the transition scenarios. The exit times correspond to the times where the reactors are decommissioned.

image

gwenchee commented 5 years ago

Hm, i am having an issue of when i run a simulation that has reactors with finite lifetimes, there isn't an agentexit table. I will add my xml and sqlite here.

robfairh commented 5 years ago

For the case of the transition scenarios, the lwr's are deployed using deploy_inst. Would that have something to do with the table?

gwenchee commented 5 years ago

I did the same thing, i used deploy inst to deploy a bunch of reactors

robfairh commented 5 years ago

what branch are you working on?

gwenchee commented 5 years ago

This is my input file: https://github.com/gwenchee/d3ploy/blob/demoz/input/constant_transition.xml

gwenchee commented 5 years ago

It should run with the master branch.

gwenchee commented 5 years ago

Let me know if you notice anything funky

robfairh commented 5 years ago

I do not see anything weird from a first look. I ran it and the sqlite does not produce that table.

gwenchee commented 5 years ago

Yeah i'm very confused to why it is not producing that table.

robfairh commented 5 years ago

I added the deployment of the sink and now it shows the table. I have no idea why ....

image

This is the new xml file https://github.com/robfairh/d3ploy/blob/gwen_deco/demonstrations/gwen_test.xml

gwenchee commented 5 years ago

lol weird, thanks!! :D

robfairh commented 5 years ago

Is it maybe that you need to empty the reactors to decommission them?

gwenchee commented 5 years ago

But you did not change anything with the reactors and they appear to be decommissioning? So it can't be that

robfairh commented 5 years ago

I just added the deployment of a sink. Nothing else. I think it makes sense, that the reactors need to exchange with some facility their spent fuel in order to be decommissioned. As in your xml there isn't a sink, the reactors keep the spent fuel and are not decommissioned (even though they stop producing power). I am not sure though.

gwenchee commented 5 years ago

Oh that makes sense. you are right, thanks @robfairh !