diff --git a/process/core/solver/constraints.py b/process/core/solver/constraints.py index c5d786d0f8..f6e3d057cd 100644 --- a/process/core/solver/constraints.py +++ b/process/core/solver/constraints.py @@ -18,7 +18,6 @@ from process.models.physics.exhaust import PlasmaExhaust from process.models.physics.physics import ( BetaComponentLimits, - PlasmaBeta, PlasmaIgnitionModel, ) from process.models.tfcoil.base import TFConductorModel @@ -216,43 +215,6 @@ def eq(value: float, bound: float, registration: ConstraintRegistration): ) -@ConstraintManager.register_constraint(1, "", "=") -def constraint_equation_1(constraint_registration, data): - """Relationship between beta, temperature (keV) and density - - beta_total_vol_avg: total plasma beta - beta_{ft}: fast alpha beta component - beta_{NBI}: neutral beam beta component - n_e: electron density [/m3] - n_i: total ion density [/m3] - T_e: density weighted average electron temperature [keV] - T_i: density weighted average ion temperature [keV] - B_{tot}: total toroidal + poloidal field [T] - """ - # Density weighted temperature is used here as 〈nT〉 != 〈n〉_V * 〈T〉_V - beta_thermal_total_vol_avg = PlasmaBeta.calculate_plasma_beta( - pres_plasma=( - constants.KILOELECTRON_VOLT - * ( - data.physics.nd_plasma_electrons_vol_avg - * data.physics.temp_plasma_electron_density_weighted_kev - + data.physics.nd_plasma_ions_total_vol_avg - * data.physics.temp_plasma_ion_density_weighted_kev - ) - ), - b_field=data.physics.b_plasma_total, - ) - return eq( - ( - data.physics.beta_fast_alpha - + data.physics.beta_beam - + beta_thermal_total_vol_avg - ), - data.physics.beta_total_vol_avg, - constraint_registration, - ) - - @ConstraintManager.register_constraint(2, "MW/m³", "=") def constraint_equation_2(constraint_registration, data): """ diff --git a/process/core/solver/iteration_variables.py b/process/core/solver/iteration_variables.py index fd468c5537..1e4665bb6b 100644 --- a/process/core/solver/iteration_variables.py +++ b/process/core/solver/iteration_variables.py @@ -46,7 +46,6 @@ class IterationVariable: 2: IterationVariable("b_plasma_toroidal_on_axis", "physics", 0.010, 30.00), 3: IterationVariable("rmajor", "physics", 0.1, 50.00), 4: IterationVariable("temp_plasma_electron_vol_avg_kev", "physics", 5.0, 150.0), - 5: IterationVariable("beta_total_vol_avg", "physics", 0.001, 1.0), 6: IterationVariable("nd_plasma_electrons_vol_avg", "physics", 2.0e19, 1.0e21), 7: IterationVariable("f_nd_beam_electron", "physics", 1.0e-6, 1.0), 10: IterationVariable("hfact", "physics", 0.1, 3.0), diff --git a/process/data_structure/numerics.py b/process/data_structure/numerics.py index 85785576a4..d2d318666e 100644 --- a/process/data_structure/numerics.py +++ b/process/data_structure/numerics.py @@ -200,7 +200,7 @@ class NumericsData: lablcc: list[str] = field( default_factory=lambda: [ - "⟨β⟩ consistency ", + "NOT USED", "Global power balance consistency ", "Ion power balance ", "Electron power balance ", @@ -295,11 +295,11 @@ class NumericsData: ] ) """Labels describing constraint equations (corresponding itvs)