Merge branch 'NewFeature_RescaleReactor' into 'master'
New feature rescale reactor # ChangeLog ## Bugs correction ### Reactor.cxx Evolution between last time step before end of cycle and end of cycle was not done. Bug corrected thanks to @Fanny and @nicolas.thiolliere ### Scenario.cxx Display of CLASS presentation in terminal was destroyed (missing spaces) ## ReactorScheduler ### Description This class replace CLASSFuel and CLASSFuelPlan. Il allows to change PhysicsModel/EvolutionData, Burnup, power and mass of a reactor during time. ### Usage ```c Reactor* PWR_UOX = new Reactor(gCLASS->GetLog(), //Log STD900, // Data base Stock, // Connected Backend facility (here the Storage "Stock" previously declared) StartingTime, // Starting time LifeTime, // time of reactor life time Power_CP0, // Power HMMass,// HM mass BurnUp, // BurnUp 0.8); // Load Factor double CycleTime = BurnUp *1e9 /Power_CP0 *HMMass * 24 * 3600; PWR_UOX->AddScheduleEntry(StartingTime + 1*CycleTime, STD900, BurnUp,2*Power_CP0 ,2*HMMass ); PWR_UOX->SetFabricationPlant(FP_MOX); // Add a Fabrication plant if you decide to change for a PhysicsModel PWR_UOX->AddScheduleEntry(2010*year, PHYMOD, 1.5*BurnUp,1*Power_CP0,1.1*HMMass ) ; gCLASS->AddReactor(PWR_UOX);//Add this reactor to the scenario ``` See merge request !4
Showing
- DATA_BASES/PWR/MOX_EUS/EQModel/PWR_MOxEUS_MLP_keff_Config4221.xml 309 additions, 0 deletions...ES/PWR/MOX_EUS/EQModel/PWR_MOxEUS_MLP_keff_Config4221.xml
- DATA_BASES/PWR/UOX/EQModel/PWR_900_30Wg_third/weight.xml 1 addition, 0 deletionsDATA_BASES/PWR/UOX/EQModel/PWR_900_30Wg_third/weight.xml
- source/include/CLASSFuelPlan.hxx 0 additions, 100 deletionssource/include/CLASSFuelPlan.hxx
- source/include/FabricationPlant.hxx 1 addition, 1 deletionsource/include/FabricationPlant.hxx
- source/include/Reactor.hxx 21 additions, 12 deletionssource/include/Reactor.hxx
- source/include/ReactorScheduler.hxx 190 additions, 0 deletionssource/include/ReactorScheduler.hxx
- source/src/CLASSFuel.cxx 0 additions, 26 deletionssource/src/CLASSFuel.cxx
- source/src/CLASSFuelPlan.cxx 0 additions, 69 deletionssource/src/CLASSFuelPlan.cxx
- source/src/FabricationPlant.cxx 25 additions, 23 deletionssource/src/FabricationPlant.cxx
- source/src/Makefile 2 additions, 4 deletionssource/src/Makefile
- source/src/Reactor.cxx 42 additions, 28 deletionssource/src/Reactor.cxx
- source/src/ReactorScheduler.cxx 110 additions, 0 deletionssource/src/ReactorScheduler.cxx
- source/src/Scenario.cxx 22 additions, 17 deletionssource/src/Scenario.cxx
Loading
Please register or sign in to comment