From c4d4d9c8e88ad6433b52bc82b127fb7160a63d63 Mon Sep 17 00:00:00 2001 From: MOUGINOT B Date: Fri, 26 Feb 2016 14:49:20 -0600 Subject: [PATCH 1/3] clean add of test4 --- CanonicalDescription/test4/README.md | 46 +++++++++ CanonicalDescription/test4/pb4.json | 136 +++++++++++++++++++++++++++ 2 files changed, 182 insertions(+) create mode 100644 CanonicalDescription/test4/README.md create mode 100644 CanonicalDescription/test4/pb4.json diff --git a/CanonicalDescription/test4/README.md b/CanonicalDescription/test4/README.md new file mode 100644 index 0000000..e9fa92a --- /dev/null +++ b/CanonicalDescription/test4/README.md @@ -0,0 +1,46 @@ +Tests 3 : 10 reactors over 120 years +============================================= + +120 year simulation, 10 reactors, fixed fuel recipe, 120 years operation to be defined: reactor power, fuel burnup and associated recipes, (re)fueling strategy + +Definition +---------------- +120 year simulation, 10 reactors, fixed fuel recipe, 120 years operation + +Reactor : +* Type: LWR, +* **Fuel**: UOX 3.25%w enriched uranium, +* **Mass**: 82 tons (Oxyde Metal), +* **Thermal Power**: 2875e6 W -- **Efficiency**: 34%, +* **Discharge burn-up** : 43.03 GWd/tonne -- Full Cycle length 3y, +* **Capacity factor**: 1, +* **Suggested recipes**: + * **Fresh UOX** : + * 235U : 3.25%w + * 238U : 96.75%w + * 16O : 13.44%w \ + * the %w are normalize to the quantity of uranium... but because the reactor fuel mass is given in oxyde metal, one provides also the corresponding oxygen quantity + + * **Used UOX** @43.03 GWd/tonne (atomic): + * 234U : 0.00026% + * 235U : 0.52485% + * 236U : 0.41405% + * 238U : 89.33000% + * 238Pu : 0.02294% + * 239Pu : 0.54288% + * 240Pu : 0.24718% + * 241Pu : 0.15922% + * 242Pu : 0.08248% + * 241Am : 0.00399% + * 242Am* : 0.00008% + * 243Am : 0.01890% + * 242Cm : 0.00208% + * 243Cm : 0.00005% + * 244Cm : 0.00771% + * 245Cm : 0.00049% + * 237Np : 0.05255% + * 16O : 191.34628% + +Output +---------- +TBD diff --git a/CanonicalDescription/test4/pb4.json b/CanonicalDescription/test4/pb4.json new file mode 100644 index 0000000..eb4844d --- /dev/null +++ b/CanonicalDescription/test4/pb4.json @@ -0,0 +1,136 @@ +{ + "materials": { + "pwr_uox": {"attributes": {"recipe": true}, + "constraints": [ + ["U235", 3.25], + ["U238", 96.75], + ["O16", 13.44]], + "metadata": {} + }, + "spent_pwr_uox": + {"attributes": {"recipe": false}, + "constraints": [], + "metadata": { + "suggestedComposition": [ + ["U234", 0.00026], + ["U235", 0.52485], + ["U236", 0.41405], + ["U238", 89.33000], + ["PU238", 0.02294], + ["PU239", 0.54288], + ["PU240", 0.24718], + ["PU241", 0.15922], + ["PU242", 0.08248], + ["AM241", 0.00339], + ["AM242m", 0.00008], + ["AM243", 0.01890], + ["CM242", 0.00208], + ["CM243", 0.00005], + ["CM244", 0.00771], + ["CM245", 0.00049], + ["NP237", 0.05255], + ["O16", 191.34628]] + } + } + }, + + "facilities": { + "lwr_reactor_1": { + "metadata": {"type": "reactor"}, + "attributes": { + "thermalPower": ["float", "GWt"], + "efficiency": ["float", "percent"], + "cycleLength": ["int", "EFPD"], + "capacityFactor": ["float", "percent"], + "lifetime": ["int", "year"], + "fuels": ["nea_pwr_uox"], + "batches": ["int", "", ["pwr_uox"]], + "coreLoading": ["float", "tHM", ["pwr_uox"]], + "burnup": ["float", "GWd/tHM", ["pwr_uox"]], + "storageTime": ["int", "year", ["pwr_uox"]], + "coolingTime": ["int", "year", ["pwr_uox"]] + }, + "constraints": [ + ["thermalPower", 2.8387], + ["efficiency", 34.0], + ["cycleLength", 365.25], + ["capacityFactor", 100], + ["lifetime", 120], + ["batches", 3, "pwr_uox"], + ["coreLoading", 82, "pwr_uox"], + ["burnup", 43.03, "pwr_uox"], + ["storageTime", 0, "pwr_uox"], + ["coolingTime", 0, "pwr_uox"]], + "inputs": ["pwr_uox"], + "outputs": ["spent_pwr_uox"] + }, + + "lwr_reactor": { + "metadata": {"type": "reactor"}, + "attributes": { + "thermalPower": ["float", "GWt"], + "efficiency": ["float", "percent"], + "cycleLength": ["int", "EFPD"], + "capacityFactor": ["float", "percent"], + "lifetime": ["int", "year"], + "fuels": ["nea_pwr_uox"], + "batches": ["int", "", ["pwr_uox"]], + "coreLoading": ["float", "tHM", ["pwr_uox"]], + "burnup": ["float", "GWd/tHM", ["pwr_uox"]], + "storageTime": ["int", "year", ["pwr_uox"]], + "coolingTime": ["int", "year", ["pwr_uox"]] + }, + "constraints": [ + ["thermalPower", 2.8387], + ["efficiency", 34.0], + ["cycleLength", 365.25], + ["capacityFactor", 100], + ["lifetime", 120], + ["batches", 3, "pwr_uox"], + ["coreLoading", 82, "pwr_uox"], + ["burnup", 43.03, "pwr_uox"], + ["storageTime", 0, "pwr_uox"], + ["coolingTime", 0, "pwr_uox"]], + "inputs": ["pwr_uox"], + "outputs": ["spent_pwr_uox"] + }, + + "repository": { + "metadata": { + "type":"repository" + }, + "attributes": {}, + "constraints": [], + "inputs": ["spent_pwr_uox"] + } + }, + + "fuelCycle": { + "attributes": { + "grid": "year", + "initialConditions": { + "lwr_reactor_power": ["GWe", ["lwr_reactor"]], + "repository": 1 + }, + "demands": {} + }, + + "constraints": { + "grid": [0, 120], + "demands": {"lwr_reactor_power": { + "grid": [0, 120], + "growth": { + "type": "linear", + "period1": { + "startTime": 0, + "startValue": 1, + "slope": 0.1, + "stopTime": 11 + } + } + } + } + } + + } +} From 6eaefb3ad669d6c915f1e00ac30db0268da7f9c1 Mon Sep 17 00:00:00 2001 From: MOUGINOT B Date: Fri, 26 Feb 2016 14:53:44 -0600 Subject: [PATCH 2/3] update test 4 --- CanonicalDescription/test4/README.md | 10 ++++------ CanonicalDescription/test4/pb4.json | 3 +-- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/CanonicalDescription/test4/README.md b/CanonicalDescription/test4/README.md index e9fa92a..1f16076 100644 --- a/CanonicalDescription/test4/README.md +++ b/CanonicalDescription/test4/README.md @@ -1,11 +1,9 @@ -Tests 3 : 10 reactors over 120 years -============================================= - -120 year simulation, 10 reactors, fixed fuel recipe, 120 years operation to be defined: reactor power, fuel burnup and associated recipes, (re)fueling strategy - +Tests 3 : 2 reactors, 1 deployed at the start 1 at midpoint over 120 years +=========================================================================== +120 year simulation, two reactors, fixed fuel recipe, first reactor operates for 120 years, second reactor starts at midpoint Definition ---------------- -120 year simulation, 10 reactors, fixed fuel recipe, 120 years operation +120 year simulation, 2 reactors, fixed fuel recipe, 120 years operation Reactor : * Type: LWR, diff --git a/CanonicalDescription/test4/pb4.json b/CanonicalDescription/test4/pb4.json index eb4844d..1251b36 100644 --- a/CanonicalDescription/test4/pb4.json +++ b/CanonicalDescription/test4/pb4.json @@ -124,8 +124,7 @@ "period1": { "startTime": 0, "startValue": 1, - "slope": 0.1, - "stopTime": 11 + "slope": 0.017, } } } From cb69932728c4ff807c97efbf01f2d24dad97776f Mon Sep 17 00:00:00 2001 From: MOUGINOT B Date: Thu, 3 Mar 2016 20:26:27 -0600 Subject: [PATCH 3/3] switch to from mix to lower_case_with_underscores --- CanonicalDescription/test4/pb4.json | 56 ++++++++++++++--------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/CanonicalDescription/test4/pb4.json b/CanonicalDescription/test4/pb4.json index 1251b36..ad36251 100644 --- a/CanonicalDescription/test4/pb4.json +++ b/CanonicalDescription/test4/pb4.json @@ -11,7 +11,7 @@ {"attributes": {"recipe": false}, "constraints": [], "metadata": { - "suggestedComposition": [ + "suggested_composition": [ ["U234", 0.00026], ["U235", 0.52485], ["U236", 0.41405], @@ -38,29 +38,29 @@ "lwr_reactor_1": { "metadata": {"type": "reactor"}, "attributes": { - "thermalPower": ["float", "GWt"], + "thermal_power": ["float", "GWt"], "efficiency": ["float", "percent"], - "cycleLength": ["int", "EFPD"], - "capacityFactor": ["float", "percent"], + "cycle_length": ["int", "EFPD"], + "capacity_factor": ["float", "percent"], "lifetime": ["int", "year"], "fuels": ["nea_pwr_uox"], "batches": ["int", "", ["pwr_uox"]], - "coreLoading": ["float", "tHM", ["pwr_uox"]], + "core_loading": ["float", "tHM", ["pwr_uox"]], "burnup": ["float", "GWd/tHM", ["pwr_uox"]], - "storageTime": ["int", "year", ["pwr_uox"]], - "coolingTime": ["int", "year", ["pwr_uox"]] + "storage_time": ["int", "year", ["pwr_uox"]], + "cooling_time": ["int", "year", ["pwr_uox"]] }, "constraints": [ ["thermalPower", 2.8387], ["efficiency", 34.0], - ["cycleLength", 365.25], - ["capacityFactor", 100], + ["cycle_length", 365.25], + ["capacity_factor", 100], ["lifetime", 120], ["batches", 3, "pwr_uox"], - ["coreLoading", 82, "pwr_uox"], + ["core_loading", 82, "pwr_uox"], ["burnup", 43.03, "pwr_uox"], - ["storageTime", 0, "pwr_uox"], - ["coolingTime", 0, "pwr_uox"]], + ["storage_time", 0, "pwr_uox"], + ["cooling_time", 0, "pwr_uox"]], "inputs": ["pwr_uox"], "outputs": ["spent_pwr_uox"] }, @@ -68,29 +68,29 @@ "lwr_reactor": { "metadata": {"type": "reactor"}, "attributes": { - "thermalPower": ["float", "GWt"], + "thermal_power": ["float", "GWt"], "efficiency": ["float", "percent"], - "cycleLength": ["int", "EFPD"], - "capacityFactor": ["float", "percent"], + "cycle_length": ["int", "EFPD"], + "capacity_factor": ["float", "percent"], "lifetime": ["int", "year"], "fuels": ["nea_pwr_uox"], "batches": ["int", "", ["pwr_uox"]], - "coreLoading": ["float", "tHM", ["pwr_uox"]], + "core_Loading": ["float", "tHM", ["pwr_uox"]], "burnup": ["float", "GWd/tHM", ["pwr_uox"]], - "storageTime": ["int", "year", ["pwr_uox"]], - "coolingTime": ["int", "year", ["pwr_uox"]] + "storage_time": ["int", "year", ["pwr_uox"]], + "cooling_time": ["int", "year", ["pwr_uox"]] }, "constraints": [ - ["thermalPower", 2.8387], + ["thermal_power", 2.8387], ["efficiency", 34.0], - ["cycleLength", 365.25], - ["capacityFactor", 100], + ["cycle+length", 365.25], + ["capacity_factor", 100], ["lifetime", 120], ["batches", 3, "pwr_uox"], - ["coreLoading", 82, "pwr_uox"], + ["core_Loading", 82, "pwr_uox"], ["burnup", 43.03, "pwr_uox"], - ["storageTime", 0, "pwr_uox"], - ["coolingTime", 0, "pwr_uox"]], + ["storage_time", 0, "pwr_uox"], + ["cooling_time", 0, "pwr_uox"]], "inputs": ["pwr_uox"], "outputs": ["spent_pwr_uox"] }, @@ -105,10 +105,10 @@ } }, - "fuelCycle": { + "fuel_cycle": { "attributes": { "grid": "year", - "initialConditions": { + "initial_conditions": { "lwr_reactor_power": ["GWe", ["lwr_reactor"]], "repository": 1 }, @@ -122,8 +122,8 @@ "growth": { "type": "linear", "period1": { - "startTime": 0, - "startValue": 1, + "start_time": 0, + "start_value": 1, "slope": 0.017, } }