Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple calls to cortix.run() in the same run file for the BWR example #279

Open
dealmeidavf opened this issue Nov 20, 2020 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@dealmeidavf
Copy link
Member

A second run can be done directly. Note the modules brought back from the save option are available after plotting.
close() should not be issued. The network needs to be rebuilt. Modules need to be compatible a restart that will not run the constructor.

#setup initial values for simulation
turbine1_outflow_temp = turbine1.outflow_phase.get_value('temp', end_time)
turbine1_chi = turbine1.outflow_phase.get_value('quality', end_time)
turbine1_power = turbine1.outflow_phase.get_value('power', end_time)
turbine2_outflow_temp = turbine2.outflow_phase.get_value('temp', end_time)
turbine2_chi = turbine2.outflow_phase.get_value('quality', end_time)
turbine2_power = turbine2.outflow_phase.get_value('power', end_time)
condenser_runoff_temp = condenser.outflow_phase.get_value('temp', end_time)
delayed_neutron_cc = reactor.neutron_phase.get_value('delayed-neutrons-cc', end_time)
n_dens = reactor.neutron_phase.get_value('neutron-dens', end_time)
fuel_temp = reactor.reactor_phase.get_value('fuel-temp', end_time)
coolant_temp = reactor.coolant_outflow_phase.get_value('temp', end_time)
# Values loaded into params when they are needed (module instantiation)
# Properly shutdown simulation
plant.close()

@dealmeidavf dealmeidavf added the enhancement New feature or request label Nov 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants