bluemira.codes.process.equation_variable_mapping
Death to PROCESS integers
Attributes
Classes
Enum for PROCESS optimisation objective |
|
Mixin dataclass for a Constraint selection in PROCESSModel |
|
Enum for PROCESS constraints |
Module Contents
- class bluemira.codes.process.equation_variable_mapping.Objective(*args, **kwds)
Bases:
bluemira.codes.utilities.ModelEnum for PROCESS optimisation objective
- MAJOR_RADIUS = 1
- NEUTRON_WALL_LOAD = 3
- MAX_COIL_POWER = 4
- FUSION_GAIN = 5
- ELECTRICITY_COST = 6
- CAPITAL_COST = 7
- ASPECT_RATIO = 8
- DIVERTOR_HEAT_LOAD = 9
- TOROIDAL_FIELD = 10
- INJECTED_POWER = 11
- PULSE_LENGTH = 14
- AVAILABILITY = 15
- MAJOR_RADIUS_PULSE_LENGTH = 16
- NET_ELECTRICITY = 17
- NULL = 18
- FUSION_GAIN_PULSE_LENGTH = 19
- bluemira.codes.process.equation_variable_mapping.OBJECTIVE_MIN_ONLY = (16, 19)
- class bluemira.codes.process.equation_variable_mapping.ConstraintSelection
Mixin dataclass for a Constraint selection in PROCESSModel
- Parameters:
_value_ – Integer value of the constraint
requires_variables – List of required iteration variables for the constraint
requires_values – List of required inputs for the constraint
description – Short description of the model constraint
- _value_: int
- requires_variables: tuple[int] = ()
- requires_values: tuple[str] = ()
- description: str = ''
- class bluemira.codes.process.equation_variable_mapping.Constraint(*args, **kwds)
Bases:
ConstraintSelection,bluemira.codes.utilities.ModelEnum for PROCESS constraints
- BETA_CONSISTENCY = (1, (5,), (), 'Beta consistency')
- GLOBAL_POWER_CONSISTENCY = (2, (1, 2, 3, 4, 6, 10, 11), (), 'Global Power Balance Consistency')
- ION_POWER_CONSISTENCY = (3, (1, 2, 3, 4, 6, 10, 11), (), 'DEPRECATED - Ion Power Balance Consistency')
- ELECTRON_POWER_CONSISTENCY = (4, (1, 2, 3, 4, 6, 10, 11), (), 'DEPRECATED - Electron Power Balance Consistency')
- DENSITY_UPPER_LIMIT = (5, (1, 2, 3, 4, 6), (), 'Density Upper Limit (Greenwald)')
- EPS_BETA_POL_UPPER_LIMIT = (6, (1, 2, 3, 4, 6, 8), ('epbetmax',), 'Equation for epsilon beta-poloidal upper limit')
- HOT_BEAM_ION_DENSITY = (7, (7,), (), 'Equation for hot beam ion density')
- NWL_UPPER_LIMIT = (8, (1, 2, 3, 4, 6), ('pflux_fw_neutron_max_mw',), 'Neutron wall load upper limit')
- FUSION_POWER_UPPER_LIMIT = (9, (1, 2, 3, 4, 6), ('p_fusion_total_max_mw',), 'Equation for fusion power upper limit')
- RADIAL_BUILD_CONSISTENCY = (11, (1, 3, 13, 16, 29, 42, 61), (), 'Radial Build Consistency')
- VS_LOWER_LIMIT = (12, (1, 2, 3), (), 'Equation for volt-second capability lower limit')
- BURN_TIME_LOWER_LIMIT = (13, (1, 2, 3, 6, 16, 17, 19, 29, 42, 44, 61), (), 'Burn time lower limit')
- NBI_LAMBDA_CENTRE = (14, (), (), 'Equation to fix number of NBI decay lengths to plasma centre')
- LH_THRESHHOLD_LIMIT = (15, (), (), 'L-H Power ThresHhold Limit')
- NET_ELEC_LOWER_LIMIT = (16, (1, 2, 3), ('p_plant_electric_net_required_mw',), 'Net electric power lower limit')
- RAD_POWER_UPPER_LIMIT = (17, (), (), 'Equation for radiation power upper limit')
- DIVERTOR_HEAT_UPPER_LIMIT = (18, (), (), 'Equation for divertor heat load upper limit')
- MVA_UPPER_LIMIT = (19, (), ('mvalim',), 'Equation for MVA upper limit')
- NBI_TANGENCY_UPPER_LIMIT = (20, (3, 13, 31), (), 'Equation for neutral beam tangency radius upper limit')
- AMINOR_LOWER_LIMIT = (21, (), (), 'Equation for minor radius lower limit')
- DIV_COLL_CONN_UPPER_LIMIT = (22, (34,), (), 'Equation for divertor collision/connection length ratio upper limit')
- COND_SHELL_R_RATIO_UPPER_LIMIT = (23, (1, 74, 104), ('cwrmax',), 'Equation for conducting shell radius / rminor upper limit')
- BETA_UPPER_LIMIT = (24, (1, 2, 3, 4, 6, 18), (), 'Beta Upper Limit')
- PEAK_TF_UPPER_LIMIT = (25, (3, 13, 29), ('b_tf_inboard_max',), 'Peak toroidal field upper limit')
- CS_EOF_DENSITY_LIMIT = (26, (37, 41), (), 'Central solenoid EOF current density upper limit')
- CS_BOP_DENSITY_LIMIT = (27, (37, 41), (), 'Central solenoid bop current density upper limit')
- Q_LOWER_LIMIT = (28, (47,), ('big_q_plasma_min',), 'Equation for fusion gain (big Q) lower limit')
- IB_RADIAL_BUILD_CONSISTENCY = (29, (1, 3, 13, 16, 29, 42, 61), (), 'Equation for minor radius lower limit OR Inboard radial...
- PINJ_UPPER_LIMIT = (30, (11, 47), ('p_hcd_injected_max',), 'Injection Power Upper Limit')
- TF_CASE_STRESS_UPPER_LIMIT = (31, (56, 57, 58, 59, 60), ('sig_tf_case_max',), 'TF coil case stress upper limit')
- TF_JACKET_STRESS_UPPER_LIMIT = (32, (56, 57, 58, 59, 60), ('sig_tf_wp_max',), 'TF WP steel jacket/conduit stress upper limit')
- TF_JCRIT_RATIO_UPPER_LIMIT = (33, (56, 57, 58, 59, 60), (), 'TF superconductor operating current / critical current density')
- TF_DUMP_VOLTAGE_UPPER_LIMIT = (34, (56, 57, 58, 59, 60), ('v_tf_coil_dump_quench_max_kv',), 'TF dump voltage upper limit')
- TF_CURRENT_DENSITY_UPPER_LIMIT = (35, (56, 57, 58, 59, 60), (), 'TF winding pack current density upper limit')
- TF_T_MARGIN_LOWER_LIMIT = (36, (56, 57, 58, 59, 60), ('tftmp',), 'TF temperature margin upper limit')
- CD_GAMMA_UPPER_LIMIT = (37, (47,), ('eta_cd_norm_hcd_primary_max',), 'Equation for current drive gamma upper limit')
- FW_TEMP_UPPER_LIMIT = (39, (), (), 'First wall peak temperature upper limit')
- PAUX_LOWER_LIMIT = (40, (), ('p_hcd_injected_min',), 'Start-up injection power upper limit (PULSE)')
- IP_RAMP_LOWER_LIMIT = (41, (65,), ('tohsmn',), 'Plasma ramp-up time lower limit (PULSE)')
- CYCLE_TIME_LOWER_LIMIT = (42, (17, 65), ('t_cycle_min',), 'Cycle time lower limit (PULSE)')
- CENTREPOST_TEMP_AVERAGE = (43, (13, 20, 69, 70), (), 'Average centrepost temperature (TART) consistency equation')
- CENTREPOST_TEMP_UPPER_LIMIT = (44, (69, 70), ('ptempalw',), 'Peak centrepost temperature upper limit (TART)')
- QEDGE_LOWER_LIMIT = (45, (1, 2, 3, 70), (), 'Edge safety factor lower limit (TART)')
- IP_IROD_UPPER_LIMIT = (46, (2, 60), (), 'Equation for Ip/Irod upper limit (TART)')
- BETAPOL_UPPER_LIMIT = (48, (2, 3, 18), ('betpmax',), 'Poloidal beta upper limit')
- REP_RATE_UPPER_LIMIT = (50, (86,), (), 'IFE repetition rate upper limit (IFE)')
- CS_FLUX_CONSISTENCY = (51, (1, 3, 16, 29), (), 'Startup volt-seconds consistency (PULSE)')
- TBR_LOWER_LIMIT = (52, (90, 91), ('tbrmin',), 'Tritium breeding ratio lower limit')
- NFLUENCE_TF_UPPER_LIMIT = (53, (93, 94), ('nflutfmax',), 'Neutron fluence on TF coil upper limit')
- PNUCL_TF_UPPER_LIMIT = (54, (93, 94), ('ptfnucmax',), 'Peak TF coil nuclear heating upper limit')
- PSEPR_UPPER_LIMIT = (56, (1, 3), ('pseprmax',), 'Pseparatrix/Rmajor upper limit')
- NBI_SHINETHROUGH_UPPER_LIMIT = (59, (4, 6, 19), ('f_p_beam_shine_through_max',), 'Neutral beam shinethrough fraction upper limit (NBI)')
- CS_T_MARGIN_LOWER_LIMIT = (60, (), (), 'Central solenoid temperature margin lower limit (SCTF)[sic.. I guess they mean SCCS]')
- AVAIL_LOWER_LIMIT = (61, (107,), ('avail_min',), 'Minimum availability value')
- CONFINEMENT_RATIO_LOWER_LIMIT = (62, (), ('f_alpha_energy_confinement_min',), 't_alpha_confinement/t_energy_confinement the...
- NITERPUMP_UPPER_LIMIT = (63, (), (), 'The number of ITER-like vacuum pumps n_iter_vacuum_pumps < tfno')
- ZEFF_UPPER_LIMIT = (64, (), ('zeff_max',), 'Zeff less than or equal to zeff_max')
- DUMP_TIME_LOWER_LIMIT = (65, (56,), ('max_vv_stress',), 'Dump time set by VV loads')
- PF_ENERGY_RATE_UPPER_LIMIT = (66, (65,), ('t_plant_pulse_plasma_current_ramp_up',), 'Limit on rate of change of energy in...
- WALL_RADIATION_UPPER_LIMIT = (67, (4, 6), ('f_fw_rad_max', 'pflux_fw_rad_max_mw'), 'Simple radiation wall load limit')
- PSEPB_QAR_UPPER_LIMIT = (68, (), ('psepbqarmax',), 'P_separatrix Bt / q A R upper limit')
- PSEP_KALLENBACH_UPPER_LIMIT = (69, (118,), (), 'ensure the separatrix power = the value from Kallenbach divertor')
- TSEP_CONSISTENCY = (70, (119,), (), 'ensure that temp = separatrix in the pedestal profile')
- NSEP_CONSISTENCY = (71, (), (), 'ensure that neomp = separatrix density (nd_plasma_separatrix_electron) x neratio')
- CS_STRESS_UPPER_LIMIT = (72, (), (), 'Central solenoid shear stress limit (Tresca yield criterion)')
- PSEP_LH_AUX_CONSISTENCY = (73, (137,), (), 'Psep >= Plh + Paux')
- TF_CROCO_T_UPPER_LIMIT = (74, (141,), ('temp_croco_quench_max',), 'TFC quench')
- TF_CROCO_CU_AREA_CONSTRAINT = (75, (143,), ('coppera_m2_max',), 'TFC current / copper area < maximum')
- EICH_SEP_DENSITY_CONSTRAINT = (76, (), (), 'Eich critical separatrix density')
- TF_TURN_CURRENT_UPPER_LIMIT = (77, (), ('c_tf_turn_max',), 'TF coil current per turn upper limit')
- REINKE_IMP_FRAC_LOWER_LIMIT = (78, (), (), 'Reinke criterion impurity fraction lower limit')
- BMAX_CS_UPPER_LIMIT = (79, (149,), ('b_cs_limit_max',), 'Peak CS field upper limit')
- PDIVT_LOWER_LIMIT = (80, (153,), ('p_plasma_separatrix_min_mw',), 'Divertor power lower limit')
- DENSITY_PROFILE_CONSISTENCY = (81, (154,), (), 'Ne(0) > ne(ped) constraint')
- STELLARATOR_COIL_CONSISTENCY = (82, (171,), ('toroidalgap',))
- STELLARATOR_RADIAL_BUILD_CONSISTENCY = (83, (172,), (), 'Radial build consistency for stellarators')
- BETA_LOWER_LIMIT = (84, (173,), (), 'Lower limit for beta')
- CP_LIFETIME_LOWER_LIMIT = (85, (), ('nflutfmax',), 'Constraint for centrepost lifetime')
- TURN_SIZE_UPPER_LIMIT = (86, (), ('t_turn_tf_max',), 'Constraint for TF coil turn dimension')
- CRYOPOWER_UPPER_LIMIT = (87, (), (), 'Constraint for cryogenic power')
- TF_STRAIN_UPPER_LIMIT = (88, (), ('str_wp_max',), 'Constraint for TF coil strain absolute value')
- OH_CROCO_CU_AREA_CONSTRAINT = (89, (166,), ('copperaoh_m2_max',), 'Constraint for CS coil quench protection')
- CS_FATIGUE = (90, (), ('residual_sig_hoop', 'n_cycle_min', 't_crack_radial', 't_crack_vertical',...
- ECRH_IGNITABILITY = (91, (), (), 'Checking if the design point is ECRH ignitable')
- bluemira.codes.process.equation_variable_mapping.ITERATION_VAR_MAPPING
- bluemira.codes.process.equation_variable_mapping.VAR_ITERATION_MAPPING