...
The hechms files (.basin, .contol, .gage, .hms, .pdata, .run, .script, .met, .dss etc.)are saved in the /Config/ModuleDataSet directory. These are copied to the /Model/hechms/<model> directory during the exportDataSet activity in the General Adapter file.
Example of template ModuleParFile configuration, to allow for Parameter updating by the pre adapter. In the GA, under <exportParameterActivity> the modulePar template file is referenced, providing the 'model' and a 'locationSet'. For each of the locations in the locationSet, the '@attributes'@ need to be defined.
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?>
<parameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.wldelft.nl/fews/PI" xsi:schemaLocation="http://www.wldelft.nl/fews/PI http://fews.wldelft.nl/schemas/version1.0/pi-schemas/pi_modelparameters.xsd" version="1.5">
<modifierType>HECHMS_Parameters</modifierType>
<group id="HECHMS_Basin_Subbasin_Parameters" name="HEC-HMS Basin Subbasin Parameters">
<locationId>@hec_ext_subbasin_id@</locationId>
<model>HECHMS_B_SB</model>
<parameter id="Time of Concentration">
<intValue>@time_of_concentration@</intValue>
</parameter>
<parameter id="Storage Coefficient">
<intValue>@storage_coefficient@</intValue>
</parameter>
</group>
<group id="HECHMS_Basin_Reach_Parameters" name="HEC-HMS Basin Reach Parameters">
<locationId>@hec_ext_reach_id@</locationId>
<model>HECHMS_B_R</model>
<parameter id="Muskingum K">
<intValue>@muskingum_k@</intValue>
</parameter>
</group>
<group id="HECHMS_Met_Parameters" name="HEC-HMS Met Parameters">
<locationId>@hec_ext_snowmelt_method_id@</locationId>
<model>HECHMS_M</model>
<parameter id="Base Temperature">
<dblValue>@base_temperature@</dblValue>
</parameter>
<parameter id="Snow vs Rain Temperature">
<dblValue>@snow_vs_rain_temperature@</dblValue>
</parameter>
<parameter id="Dry Melt Rain Rate Limit">
<dblValue>@dry_melt_rain_limit@</dblValue>
</parameter>
<parameter id="Rain Melt Rate">
<dblValue>@rain_melt_rate@</dblValue>
</parameter>
</group>
</parameters>
|