Skip to content

Commit

Permalink
apply some warning autofixes
Browse files Browse the repository at this point in the history
  • Loading branch information
shieldo committed Apr 25, 2024
1 parent 860b02c commit 2fdf900
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/core/heating_systems/boiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ impl Boiler {
match boiler_data {
HeatSourceWetDetails::Boiler {
energy_supply: energy_supply_type,
energy_supply_auxiliary,
energy_supply_auxiliary: _,
rated_power: boiler_power,
efficiency_full_load: full_load_gross,
efficiency_part_load: part_load_gross,
Expand Down
4 changes: 2 additions & 2 deletions src/core/heating_systems/storage_tank.rs
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ impl StorageTank {
.try_into()
.unwrap();

let q_h_sto_end_no = self.rho
let _q_h_sto_end_no = self.rho
* self.cp
* (0..self.vol_n.len())
.map(|i| self.vol_n[i] * temp_s7_n[i])
Expand Down Expand Up @@ -803,7 +803,7 @@ impl StorageTank {
let heat_source_data = &self.heat_source_data[heat_source_name];

let heater_layer = (heat_source_data.heater_position * STORAGE_TANK_NB_VOL as f64) as usize;
let thermostat_layer =
let _thermostat_layer =
(heat_source_data.thermostat_position * STORAGE_TANK_NB_VOL as f64) as usize;

let mut q_x_in_n: [f64; STORAGE_TANK_NB_VOL] = Default::default();
Expand Down

0 comments on commit 2fdf900

Please sign in to comment.