# RiverWare_Model 7.3 Development
# Created 12:44 January 19, 2018
# CADSWES, University of Colorado at Boulder, http://cadswes.colorado.edu/
#
# The catalog command is parsed by the RiverSMART
# RiverWare model plugin:
# - It must appear in the first 100 lines of the file.
# - Lines up to and including it must not exceed 4K bytes.
# - Its name must not change.
Catalog {\
\
\
\
\
\
\
\
\
\
\
\
} # End Catalog
ModelSimObjCount 1
ModelAccountCount 0
ModelSupplyCount 0
ModelExchangeCount 0
DST 0
$ws.Model.FileInfo saveInfo 1 {philw} {01-19-2018 12:44:14} {RiverWare 7.3}
$ws.Model.FileInfo comment {}
$ws.Model.RunHistoryParam MaxModelRunHistoryRecs 1
$ws.AutoSave 1 0 0 15 {C:/Users/neumannd/AppData/Local/Temp/} none
$ws.StringMgr 1 {\
\
}
SaveOutputs 1
OutputsSavePrecision 12
FlagEncoding 3
BaselineModel 0
ModelLockSet 0
ObjectListWidth 256
WsObjListOrderMode SORT_BY_NAME
LockedIcons 0
SelWindowIcon {RwIconStandard}
WorkspaceSize 6450 6450
AccountingSize 6450 6450
GeospatialSize 6450 6450
DisplayProperties 0
EpochBeginYear 1800
OverrideDefaultPlotAxesForVertDist 0
CurrCanvasType SIMULATION
InitCanvasSpec SIMULATION {\
\
\
\
\
}
InitCanvasSpec ACCOUNTING {\
\
\
\
}
InitCanvasSpec GEOSPATIAL {\
\
\
\
}
WaterYearStartMonthIndex 9 YearNamedFromEnd
SlotGroupsEnabled 1
SlotDlgPrefs {\
\
\
\
\
}
$ws.runInfo pauseAtDate {01-10-2018 18:00:00}
$ws.runInfo pauseAtPriority 2
$ws.runInfo setDescription {Model Run}
$ws.runInfo runParam {01-10-2018 12:00:00} {01-11-2018 12:00:00} 6 HOUR
$ws.runInfo setType 0
$ws.runInfo setResumedRun 0 {01-10-2018 18:00:00}
$ws.runInfo setActiveCategories 1 0
$ws.runInfo setInlineCategories 1 0
$ws.runInfo setMaxSimIterations 40
$ws.runInfo setMaxAcctIterations 20
$ws.runInfo setSeriesExtensionIncrement 1
$ws.runInfo setWarnOutOfBounds 0
$ws.multiRunInfo setDescription {Model Run}
$ws.multiRunInfo runParam {01-10-2018 12:00:00} {01-11-2018 12:00:00} 6 HOUR
$ws.multiRunInfo setType 3
$ws.multiRunInfo setResumedRun 0 {01-10-2018 18:00:00}
$ws.multiRunInfo setActiveCategories 1 0
$ws.multiRunInfo setInlineCategories 1 0
$ws.multiRunInfo setMaxSimIterations 40
$ws.multiRunInfo setMaxAcctIterations 20
$ws.multiRunInfo setSeriesExtensionIncrement 1
$ws.multiRunInfo setWarnOutOfBounds 0
# Section: Unit Manager
Section {Unit Manager}
set unitMgr "$ws.UnitMgr"
$unitMgr initScaledUnits 62
$unitMgr scaledUnit 0 {NONE} 1 {NONE}
$unitMgr scaledUnit 1 {Length} 1 {m}
$unitMgr scaledUnit 2 {Length} 1 {ft}
$unitMgr scaledUnit 3 {SqrtLength} 1 {m1/2}
$unitMgr scaledUnit 4 {Area} 1 {m2}
$unitMgr scaledUnit 5 {Area} 1 {acre}
$unitMgr scaledUnit 6 {Volume} 1 {m3}
$unitMgr scaledUnit 7 {Volume} 1 {acre-ft}
$unitMgr scaledUnit 8 {Flow} 1 {cms}
$unitMgr scaledUnit 9 {Flow} 1 {cfs}
$unitMgr scaledUnit 10 {Flow} 1 {acre-ft/day}
$unitMgr scaledUnit 11 {FlowSquared} 1 {cms2}
$unitMgr scaledUnit 12 {FlowPerSqrtLength} 1 {cms/m1/2}
$unitMgr scaledUnit 13 {PerFlow} 1 {1/cms}
$unitMgr scaledUnit 14 {Power} 1 {MW}
$unitMgr scaledUnit 15 {PowerPerFlow} 1 {MW/cms}
$unitMgr scaledUnit 16 {Energy} 1 {MWH}
$unitMgr scaledUnit 17 {Time} 1 {hr}
$unitMgr scaledUnit 18 {Time} 1 {day}
$unitMgr scaledUnit 19 {TimeSquared} 1 {hour2}
$unitMgr scaledUnit 20 {Mass} 1 {g}
$unitMgr scaledUnit 21 {Mass} 1 {tons}
$unitMgr scaledUnit 22 {Heat} 1 {J}
$unitMgr scaledUnit 23 {EnergyFlux} 1 {J/m2sec}
$unitMgr scaledUnit 24 {MassFlux} 1 {g/m2sec}
$unitMgr scaledUnit 25 {VolFlux} 1 {g/m3sec}
$unitMgr scaledUnit 26 {Concentration} 1 {g/m3}
$unitMgr scaledUnit 27 {Concentration} 1 {lb/ft3}
$unitMgr scaledUnit 28 {AreaPerTime} 1 {m2/s}
$unitMgr scaledUnit 29 {PerTime} 1 {1/sec}
$unitMgr scaledUnit 30 {Temperature} 1 {C}
$unitMgr scaledUnit 31 {LengthPerTemperature_F} 1 {m/F}
$unitMgr scaledUnit 32 {TemperatureInFahren} 1 {F}
$unitMgr scaledUnit 33 {SpecificHeat} 1 {J/gC}
$unitMgr scaledUnit 34 {Velocity} 1 {m/s}
$unitMgr scaledUnit 35 {VelocityPerTemperature_F} 1 {m/s-F}
$unitMgr scaledUnit 36 {Density} 1 {kg/m3_dens}
$unitMgr scaledUnit 37 {PowerCost} 1 {$/MWh}
$unitMgr scaledUnit 38 {Value} 1 {$}
$unitMgr scaledUnit 39 {ValuePerFlow} 1 {$/cms}
$unitMgr scaledUnit 40 {ValuePerVolume} 1 {$/m3}
$unitMgr scaledUnit 41 {LengthPerVolume} 1 {m/m3}
$unitMgr scaledUnit 42 {LengthPerFlow} 1 {m/cms}
$unitMgr scaledUnit 43 {PerLength} 1 {1/m}
$unitMgr scaledUnit 44 {PerLengthTime} 1 {1/m-s}
$unitMgr scaledUnit 45 {FlowPerLength} 1 {cms/m}
$unitMgr scaledUnit 46 {VolumePerFlow} 1 {m3/cms}
$unitMgr scaledUnit 47 {energyPerLength} 1 {MWH/m}
$unitMgr scaledUnit 48 {powerPerLength} 1 {MW/m}
$unitMgr scaledUnit 49 {Fraction} 1 {decimal}
$unitMgr scaledUnit 50 {FractionPerFlow} 1 {decimal/cms}
$unitMgr scaledUnit 51 {FractionPerLength} 1 {decimal/m}
$unitMgr scaledUnit 52 {noDimension} 1 {m/m}
$unitMgr scaledUnit 53 {VolumeSquared} 1 {m6}
$unitMgr scaledUnit 54 {TimePerLength} 1 {s/m}
$unitMgr scaledUnit 55 {FlowVolume} 1 {m6/t}
$unitMgr scaledUnit 56 {FlowTime} 1 {cmshour}
$unitMgr scaledUnit 57 {FlowPerTime} 1 {cmss}
$unitMgr scaledUnit 58 {DateTime} 1 {FullDateTime}
$unitMgr scaledUnit 59 {DateTime} 1 {MonthAndDay}
$unitMgr scaledUnit 60 {String} 1 {Text}
$unitMgr scaledUnit 61 {VolumePerEnergy} 1 {m3/MWH}
$unitMgr end
# Section: Unit Schemes
"$ws.unitScheme" addUserScheme {\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
}
"$ws.unitScheme" activeUnitScheme {Scheme 1}
"$ws.unitScheme" skipTransitionScheme true
CanvasConfig SIMULATION IconLabelLocation {Below}
CanvasConfig SIMULATION CanvasColor #ffffff
CanvasConfig SIMULATION IconLabelFont {Helvetica,12,-1,5,75,0,0,0,0,0}
CanvasConfig SIMULATION IconLabelFontColor #000000
CanvasConfig ACCOUNTING IconLabelLocation {Below}
CanvasConfig ACCOUNTING CanvasColor #ffffff
CanvasConfig ACCOUNTING IconLabelFont {MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0}
CanvasConfig ACCOUNTING IconLabelFontColor #000000
CanvasConfig GEOSPATIAL ProjDescription {}
CanvasConfig GEOSPATIAL ProjectionUnitsString {} 0
CanvasConfig GEOSPATIAL ProjHorizAxisText {x}
CanvasConfig GEOSPATIAL ProjVertAxisText {y}
CanvasConfig GEOSPATIAL GeoDescription {}
CanvasConfig GEOSPATIAL GeoUnitsString {deg} 4
CanvasConfig GEOSPATIAL GeoHorizAxisText {long}
CanvasConfig GEOSPATIAL GeoVertAxisText {lat}
CanvasConfig GEOSPATIAL ProjWellKnownText {}
CanvasConfig GEOSPATIAL CanvasLowerLeft 0 0
CanvasConfig GEOSPATIAL CanvasUpperRight 6450 6450
CanvasConfig GEOSPATIAL IconLabelLocation {Below}
CanvasConfig GEOSPATIAL IconSize 40
CanvasConfig GEOSPATIAL CanvasColor #ffffff
CanvasConfig GEOSPATIAL IconLabelFont {MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0}
CanvasConfig GEOSPATIAL IconLabelFontColor #000000
CanvasConfig GEOSPATIAL DisplayScale 1
CanvasConfig GEOSPATIAL DisplayScaleFromImage 1
# Section: DMI (part one)
set mgr "$ws.dmiMgr"
"$mgr" numInvRec 0
# Section: New Time Series Text Annotation Notes
set annoMgr "$ws.AnnoMgr"
# Section: Objects
Section {Objects}
set obj {DataObj1}
set o "$ws.DataObj1"
$ws SimObj $obj {DataObj} 446 705 {} 445 705 445 705
"$o" geospatialCoords 0 0 445 705
"$o" objAttributes { \
}
"$o" objOrd wsList 5029
"$o" objSlotOrderType ListOrder_DEFAULT 0 Ascend
"$o" {AggSeriesSlot} {AggSeries}
set s "$o.AggSeries"
"$s" order 1
"$s" cvg 2 0.0001
"$s" unit 0 {%f} 2
"$s" minMax NaN NaN
"$s" setFSeries {NONE} {01-10-2018 12:00:00} {01-11-2018 12:00:00} 6 HOUR -1 1 @ 5
"$s" setDSeries {NONE} {01-10-2018 12:00:00} {01-11-2018 12:00:00} 6 HOUR -1 1 @ 5
"$s" setAggLabel {User 1}
"$s" AggSubSlot {AggSeries.User 2} "$o"
"$s" AggSubSlot {AggSeries.User 3} "$o"
set s "$o.AggSeries.User 2"
"$s" order 500
"$s" cvg 2 0.0001
"$s" unit 0 {%f} 2
"$s" minMax NaN NaN
"$s" setFSeries {NONE} {01-10-2018 12:00:00} {01-11-2018 12:00:00} 6 HOUR -1 1 @ 5
"$s" setDSeries {NONE} {01-10-2018 12:00:00} {01-11-2018 12:00:00} 6 HOUR -1 2 88 2 @ 3
set s "$o.AggSeries.User 3"
"$s" order 500
"$s" cvg 2 0.0001
"$s" unit 0 {%f} 2
"$s" minMax NaN NaN
"$s" setFSeries {NONE} {01-10-2018 12:00:00} {01-11-2018 12:00:00} 6 HOUR -1 1 @ 5
"$s" setDSeries {NONE} {01-10-2018 12:00:00} {01-11-2018 12:00:00} 6 HOUR -1 3 @ 5
"$o" {AggSeriesSlot} {SingleColAggSeries}
set s "$o.SingleColAggSeries"
"$s" order 2
"$s" cvg 2 0.0001
"$s" unit 0 {%f} 2
"$s" minMax NaN NaN
"$s" setFSeries {NONE} {01-10-2018 18:00:00} {01-11-2018 12:00:00} 6 HOUR -1 1 @ 4
"$s" setDSeries {NONE} {01-10-2018 18:00:00} {01-11-2018 12:00:00} 6 HOUR -1 11 22 33 44
"$o" hideSlots 0 hideOff hideEmptyOff
# Section: Objects/Snapshots
# Section: Object Relationships
set obj {DataObj1}
set o "$ws.DataObj1"
# Section: Workspace Ornaments
Section {Workspace Ornaments}
Section {Links}
# Section: Links
# Section: Link Groups
$ws LinkGroup {Default} {linkDisplayInfo Sty:Solid Vis:1 Wid:0 Color:0 Pri:1 Ena:1}
$ws LinkGroup {Main Channel Links} {linkDisplayInfo Sty:Solid Vis:1 Wid:0 Color:0 Pri:0 Ena:1}
# Section: SimObj Groups
# Section: Multiple Run Management
Section {Multiple Run Management}
$ws.mrm format 2
$ws.mrm iterRplSet {RULESET\
NAME "Iterative MRM Rules Set";\
AGENDA_ORDER ASCENDING;\
DESCRIPTION "";\
PRECISION 8;\
NOTES "";\
BEGIN\
\
END\
}
# Section: Subbasin
Section {Subbasins}
# Section: Sim Analysis Info
Section {Sim Analysis Info}
$ws.DispatchInfo displayedObjects
$ws.DispatchInfo hiddenObjects
$ws.DispatchInfo axisOption {1}
$ws.DispatchInfo updateOption {1}
$ws.DispatchInfo showObjIcons {1}
$ws.DispatchInfo priorityColors
# Section: Optimization Analysis Info
Section {Optimization Analysis Info}
$ws.OptAnalysisInfo optDisplayedObjects
$ws.OptAnalysisInfo optHiddenObjects
$ws.OptAnalysisInfo optAxisOption {1}
$ws.OptAnalysisInfo optUpdateOption {1}
$ws.OptAnalysisInfo showObjIcons {1}
$ws.OptAnalysisInfo optPriorityColors
# Section: Slot Set Manager
Section {Slot Set Manager}
$ws.slotSetMgr SlotSetList {\
\
\
}
# Section: Scenario Manager
Section {Scenario Manager}
$ws.ScenarioBaseline baselineComments {}
# Section: RPL Expression Slot Manager
Section {RPL Expression Slot Manager}
set resm "$ws.RplExprSlotMgr"
$resm collectNotes 0
$resm resmRplSet {RULESET\
NAME "Expression Slot Functions Set";\
AGENDA_ORDER ASCENDING;\
DESCRIPTION "";\
PRECISION 8;\
NOTES "";\
BEGIN\
\
END\
}
# Section: SnapShot Manager
Section {SnapShot Manager}
# Section: Output Device Manager
Section {Output Device Manager}
$ws.outputDeviceMgr addRDF {Gnats 6068 DataObj1 RDF Output}
$ws.cwSingleRunOutput {Gnats 6068 DataObj1 RDF Output} filename {Z:/public_html/2018/bugs/6068/OutputAggSeries2.rdf}
$ws.cwSingleRunOutput {Gnats 6068 DataObj1 RDF Output} slotStore {DataObj1.AggSeries} {DataObj1.AggSeries.User 2} {DataObj1.AggSeries.User 3} {DataObj1.SingleColAggSeries}
$ws.cwSingleRunOutput {Gnats 6068 DataObj1 RDF Output} slotListChanged {1}
$ws.cwSingleRunOutput {Gnats 6068 DataObj1 RDF Output} snapshot_state {0}
$ws.cwSingleRunOutput {Gnats 6068 DataObj1 RDF Output} description {}
$ws.cwSingleRunOutput {Gnats 6068 DataObj1 RDF Output} name {Gnats 6068 DataObj1 RDF Output}
$ws.cwSingleRunOutput {Gnats 6068 DataObj1 RDF Output} stateOfDevice {2}
$ws collectRBSRunAnalysisInfo 1
$ws collectRPLPerformanceInfo 1
$ws RPLNumericComparisonTolerance 0
$ws RPLWhileExprMaxIterations 10000
# Section: Name Maps
set mgr "$ws.nameMapMgr"
"$mgr" format 2
"$mgr" end
# Section: Datasets
set mgr "$ws.datasetMgr"
"$mgr" format 1
"$mgr" end
# Section: DMI (part two)
set mgr "$ws.dmiMgr"
"$mgr" format 3
"$mgr" locked 0
"$mgr" showProgDlg 0
"$mgr" showStatDlg 0
"$mgr" end
# Section: Diagnostic Object
Section {Diagnostic Settings}
cwDiag diagEnabled 1
cwDiag diagFile 0 {}
cwDiag toWindow 0
cwDiag filterByLevel 1 2
cwDiag filterByRegex 0 {}
Diag optInfo 0
Diag Advanced 0
# Section: Global Functions Set Manager
Section {Gobal Functions Set Manager}
# Section: RuleSet Manager
Section {RuleSet Manager}
set rsm "$ws.RulesetMgr"
# Section: Optimization Set Manager
Section {Optimization Set Manager}
set mgr "$ws.optSetMgr"
# Section: Optimization
Section {Optimization}
$ws.RplBasedOptController setParameter {ADVANCE 2}
$ws.RplBasedOptController setParameter {SIMPLEX PGRADIENT 4}
$ws.RplBasedOptController setParameter {SIMPLEX TOLERANCE FEASIBILITY 1.000000e-009}
$ws.RplBasedOptController setParameter {SIMPLEX TOLERANCE MARKOWITZ 5.000000e-001}
$ws.RplBasedOptController setParameter {PREPROCESSING AGGREGATOR 10}
$ws.RplBasedOptController setParameter {PREPROCESSING DUAL -1}
$ws.RplBasedOptController setParameter {PREPROCESSING REDUCE 1}
$ws.RplBasedOptController setParameter {TIMELIMIT 3.000000e+003}
$ws.RplBasedOptController setParameter {SIMPLEX DISPLAY 0}
# Section: Simulation Controller
Section {Simulation Controller}
$ws.SimControl ShouldExecInitRules 1
# Section: Rule Controller
Section {Rule Controller}
$ws.RuleControl ShouldExecInitRules 1
# Section: Initialization Rules
Section {Initialization Rules}
$ws initRules {RULESET\
NAME "Initialization Rules Set";\
AGENDA_ORDER ASCENDING;\
DESCRIPTION "";\
PRECISION 8;\
NOTES "";\
BEGIN\
\
END\
}
# Section: RPL Display Settings
Section {RPL Display Settings}
"$ws.RplDisplaySettings" {\
MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
\
}
# Section: Script Manager
Section {Script Manager}
# Show Script Manager On Model Load
$ws.rwScriptMgr rwShowScriptMgrOnModelLoad {\
\
false\
All Scripts\
\
}
# Section: Object Attribute Manager
Section {Object Attribute Manager}
# Section: Object Attribute Set
"$ws.objectAttribMgr" objectAttribSet { \
}
# Section: END (successful completion)
Section {Done}