mirror of https://gitlab.com/pamhyr/pamhyr2
debug
parent
c9c5bfe093
commit
81f15208cf
|
|
@ -173,9 +173,9 @@ class AdisTS(CommandLineSolver):
|
|||
name = ""
|
||||
return f"{name}"
|
||||
|
||||
################################
|
||||
# Adis-TS in low coupling mode #
|
||||
################################
|
||||
#################################
|
||||
# Adis-TS in weak coupling mode #
|
||||
#################################
|
||||
|
||||
|
||||
class AdisTSlc(AdisTS):
|
||||
|
|
@ -217,7 +217,6 @@ class AdisTSlc(AdisTS):
|
|||
name = pollutant.name
|
||||
with adists_file_open(os.path.join(repertory, f"{name}.POL"), "w+") as f:
|
||||
files.append(f"{name}.POL")
|
||||
f.write(f"*Polluant A contaminé aux PCB\n")
|
||||
f.write(f"name = {name}\n")
|
||||
|
||||
self._export_POL_Characteristics(study, pollutant._data, f, qlog)
|
||||
|
|
@ -296,7 +295,7 @@ class AdisTSlc(AdisTS):
|
|||
|
||||
with adists_file_open(os.path.join(repertory, f"{POL_name}.INI"), "w+") as f:
|
||||
f.write(f"*État initial pour le polluant {POL_name}\n")
|
||||
f.write(f"{POL_IC_default.name} = {POL_IC_default.concentration} {POL_IC_default.eg} "+
|
||||
f.write(f"DEFAULT = {POL_IC_default.concentration} {POL_IC_default.eg} "+
|
||||
f"{POL_IC_default.em} {POL_IC_default.ed}\n")
|
||||
|
||||
if len(POL_IC_default._data) != 0:
|
||||
|
|
@ -332,7 +331,7 @@ class AdisTSlc(AdisTS):
|
|||
|
||||
d90AdisTS = study.river.d90_adists.D90_AdisTS_List
|
||||
|
||||
f.write(f"{d90AdisTS[0].name} = {d90AdisTS[0].d90}\n")
|
||||
f.write(f"DEFAULT = {d90AdisTS[0].d90}\n")
|
||||
|
||||
self._export_d90_spec(study, d90AdisTS[0]._data, f, qlog)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue