Skip to content

Commit

Permalink
Update src/hisp/plamsa_data_handling/main.py
Browse files Browse the repository at this point in the history
Co-authored-by: Rémi Delaporte-Mathurin <40028739+RemDelaporteMathurin@users.noreply.github.com>
  • Loading branch information
kaelyndunnell and RemDelaporteMathurin authored Dec 20, 2024
1 parent 3d6655a commit b247f43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hisp/plamsa_data_handling/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,8 @@ def get_heat(self, pulse: Pulse, bin: SubBin | DivBin, t_rel: float) -> float:
heat_val = heat_total
elif pulse.pulse_type == "RISP":
if isinstance(bin, SubBin):
heat_total = data["heat_total"]+0.11e+06 # photon radiation heat adjustment
photon_radiation_heat = 0.11e6 # W/m2
heat_total = data["heat_total"]+photon_radiation_heat
heat_ion = data["heat_ion"]
heat_val = heat_total - heat_ion * (1 - bin.wetted_frac)
else:
Expand Down

0 comments on commit b247f43

Please sign in to comment.