Skip to main content

HydroTrek_-_OPXI_Summary

Background

The Energy Optimization eXtention (OPX) software is used to explore the creation of operation scenarios so that the operation of the network can be customized to fit the most important parameters for each site as chosen by the User. This project currrently has no dashboard and will only display results after a full run of both OPXI and OPXII.

Functional Summary

OPX I is set-up to run a normal RMX run (with a couple small differences) in a console window (no UI elements).  Primary, OPX I is used to run the model and gather the detailed and summary output in the database (which is subsequently used by OPX II for objective calculation).  

OPX I functionality is similar to RMX functionality, with model elements being updated via SCADA data including Initial Values, Model Demand Refinement, and Additional Refinement.

It is important to note that two sets of functions are occurring within OPX.  Initial tank levels and demand modifications will always be based on SCADA and be the same for all OPX I/II iterations for a given network.  The pump operation (driven by SCADA status) will be adjusted via each iteration to create new pump status vectors and thus new operation scenarios. 

One extra parameter is available to OPX I that is not in RMX.  DurationInHours (defined in the XML file) controls how long the OPX simulation is run for.  By default, this is usually 24 hours, but can be adjusted if more detailed/summary output is required.  Additionally, the ClockRateInSeconds can be significantly dropped compared to RMX because no UI is being used.  For many networks a value of 1 can be used (NOTE: this depends on the network and computer; if the computer cannot handle a disk I/O, OPX I will crash).  

Functional Specifications Link

Available Documents

HydroTrek OPX Current Workflow Link

EnergyOptimizationExpmt.xlsx Link

Energy Optimization Obj Func Revised.docx Link

Energy Optimization Experiment Results v2.docx Link

Software Components

OPXI is a console project which is dependent on OPXII to complete an OPX run. This project runs with an XML based config file as input and has a connection string to the source database and name of the local SQLite database to store Summary and Detailed output data.

Design Specifications Link

Infrastructure Components


OPXI can run on Windows 7 machines and Windows Servers

Code Repository

SVN - https://subversion.assembla.com/svn/gqcproject1/trunk/AquaQ

Solution files

OPX-I with RMX - AquaQ\AquaQConsole\HydroTrekOPX-I.sln

OPX-I with WCX - AquaQ\AquaQConsole\HydroTrekOPX-I-WCX.sln

Visual Studio Projects

AnomalyDetector.csproj 

HydroTrek-OPX-I.csproj

ScadaEngine.csproj 

DemandUpdater.csproj 

MSXEngine.csproj 

SCADAModel.csproj 

EpanetHydro.csproj 

MsxQuality.csproj 

SimulationEngine.csproj 

EpanetQuality.csproj 

NetworkModel_x64.csproj 

HydroTrek-OPX-I-Setup.vdproj 

GqcInterfaces_NoMAPS.csproj 

QualityEngine.csproj 

Dependencies Document