diff --git a/deploy/runtime/ui/Marine Costs - PTO.json b/deploy/runtime/ui/Marine Costs - PTO.json index 4cca47bc56..8d3a63799d 100644 --- a/deploy/runtime/ui/Marine Costs - PTO.json +++ b/deploy/runtime/ui/Marine Costs - PTO.json @@ -8421,45 +8421,6 @@ "\t}", "};", "", - "equations {'variable_hydraulic_drivetrain'} = define() {", - "\tif (${hydraulic_drivetrain_cost}!=0 && ${primary_hydraulic_pump_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${hydraulic_drivetrain_cost}!=0 && ${rectifying_circuit_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${hydraulic_drivetrain_cost}!=0 && ${accumulators_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${hydraulic_drivetrain_cost}!=0 && ${hydraulic_motor_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${hydraulic_drivetrain_cost}!=0 && ${valves_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${hydraulic_drivetrain_cost}!=0 && ${hydraulic_reservoir_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${hydraulic_drivetrain_cost}!=0 && ${plumbing_fittings_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${hydraulic_drivetrain_cost}!=0 && ${other_hydraulic_drivetrain_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse", - "\t{", - "\t\treturn 0;", - "\t}", - "};", - "", "equations {'hydraulic_drivetrain_cost_total_check'} = define() {", "\tif (${detailed_cost_choice_hydraulic_drivetrain}==0)", "\t\t{", @@ -8471,40 +8432,6 @@ "\t\t}", "};", "\t", - "equations {'variable_gearbox'} = define() {", - "\tif (${gearbox_cost}!=0 && ${gears_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${gearbox_cost}!=0 && ${bearings_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${gearbox_cost}!=0 && ${housing_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${gearbox_cost}!=0 && ${sensors_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${gearbox_cost}!=0 && ${lube_system_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${gearbox_cost}!=0 && ${cooling_system_gearbox_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${gearbox_cost}!=0 && ${other_gearbox_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse", - "\t{", - "\t\treturn 0;", - "\t}", - "};", "", "equations {'gearbox_cost_total_check'} = define() {", "\tif (${detailed_cost_choice_gearbox}==0) ", @@ -8517,79 +8444,6 @@ "\t\t}", "};", "", - "equations {'variable_air_turbine'} = define() {", - "\tif (${air_turbine_cost}!=0 && ${blades_rotor_assembly_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${air_turbine_cost}!=0 && ${hub_assembly_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${air_turbine_cost}!=0 && ${shaft_assembly_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${air_turbine_cost}!=0 && ${turbine_bearings_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${air_turbine_cost}!=0 && ${other_air_turbine_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse", - "\t{", - "\t\treturn 0;", - "\t}", - "};", - "", - "equations {'air_turbine_cost_total_check'} = define() {", - "\tif (${detailed_cost_choice_air_turbine}==0)", - "\t\t{", - "\t\t\treturn ${air_turbine_cost};", - "\t\t}", - "\t\telse", - "\t\t{", - "\t\t\treturn ${air_turbine_cost_total};", - "\t\t}", - "};", - "", - "equations {'variable_electrical_generator'} = define() {", - "\tif (${electrical_generator_cost}!=0 && ${cooling_system_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${electrical_generator_cost}!=0 && ${lubrication_system_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${electrical_generator_cost}!=0 && ${rotors_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${electrical_generator_cost}!=0 && ${sensors_elec_gen_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${electrical_generator_cost}!=0 && ${stator_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${electrical_generator_cost}!=0 && ${struct_and_mechanical_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${electrical_generator_cost}!=0 && ${other_electrical_generator_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse", - "\t{", - "\t\treturn 0;", - "\t}", - "};", - "", "equations {'electrical_generator_cost_total_check'} = define() {", "\tif (${detailed_cost_choice_electrical_generator}==0)", "\t\t{", @@ -8601,28 +8455,6 @@ "\t\t}", "};", "", - "equations {'variable_power_electronics'} = define() {", - "\tif (${power_electronics_cost}!=0 && ${frequency_converter_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${power_electronics_cost}!=0 && ${power_electrical_system_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${power_electronics_cost}!=0 && ${scada_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${power_electronics_cost}!=0 && ${other_power_electronics_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse", - "\t{", - "\t\treturn 0;", - "\t}", - "};", "", "equations {'power_electronics_cost_total_check'} = define() {", "\tif (${detailed_cost_choice_power_electronics}==0)", diff --git a/deploy/runtime/ui/Marine Costs - Structural Assembly.json b/deploy/runtime/ui/Marine Costs - Structural Assembly.json index ecac1f0ff8..52bb9a46e7 100644 --- a/deploy/runtime/ui/Marine Costs - Structural Assembly.json +++ b/deploy/runtime/ui/Marine Costs - Structural Assembly.json @@ -4647,55 +4647,6 @@ "\t\t];", "};", "", - "equations {'variable_marine_systems'} = define() {", - "\tif (${marine_systems_cost}!=0 && ${personnel_access_system_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${marine_systems_cost}!=0 && ${ballast_system_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${marine_systems_cost}!=0 && ${navigation_lighting_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${marine_systems_cost}!=0 && ${other_marine_system_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse", - "\t{", - "\t\treturn 0;", - "\t}", - "};", - "", - "equations {'variable_prime_mover'} = define() {", - "\tif (${prime_mover_cost}!=0 && ${primary_struct_assem_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${prime_mover_cost}!=0 && ${buoyancy_chamber_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${prime_mover_cost}!=0 && ${external_ballast_chambers_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${prime_mover_cost}!=0 && ${active_structure_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse if (${prime_mover_cost}!=0 && ${other_prime_mover_cost}!=0)", - "\t{", - "\t\treturn 1;", - "\t}", - "\telse", - "\t{", - "\t\treturn 0;", - "\t}", - "};", "", "equations {'override_check_structural'} = define() {", "\tif (${device_cost_override}==0)",