Giter Site home page Giter Site logo

nzp-smot's People

Watchers

 avatar  avatar

nzp-smot's Issues

100% MAIN GOAL

  1. After installing SolverFoundation finish writing the Simulation.cs \\ _solveBmpArea( ... ) function.
    • Do this

Rainfall Data Issues

The formulas as translated from the VBA code into C# are making little sense and do not align with the results in the spreadsheet.

Their functions will return -1.0 until this can be resolved.

Process

  • Using study: Vicksburg WES - move to prod (416)

What is going on:

  • SC_SPDetails.cs : SC_SPDetails
    • Added _stormModeling / _stormModelingPMS/OPTVersion fields / properties, mixed with constructor
    • What does NotifyPropertyChanged do ?
  • ConfigurationFocus.xaml.cs : ConfigurationFocus
    • Need to add EnergyConfigurationOverview.StormModeling

Notes from James Stinson Meeting

  • NZIE

    • User interface
  • NZIE.Web

    • Handles browser requests and sends them to the job server
  • NZIE/Tabs/BuildingOpt/Subtaps/Configuration/ConfigurationFocus.xaml

    • User interface for selecting inputs for "focuses"
  • CORE/Core/Repository/*

    • "Where shit gets done"
    • Backend for NZIE.Web
      -NZIE.Web sends "service stubs" to CORE for jobs
  • SC_* or just SHAREDCODE_*

    • Models that bind to user input from UI elements and are sent in "service stubs" (???)
  1. Update web.config.NZIE.Entities IP config to point to development server
  2. Implement user interface for SMOT
  3. Create model for use with user interface
  4. Call James Stinson OR Russ Northrup about hooking up the ins and outs

ET Input

  • We need fields to take in user supplied ET per month.
    • Will likely just be attached to InputParams

Weird watershed code

In Sub WatershedGeneral() there are a lot of weird lines of code, see:

' Validate number of subwatersheds.
' NumWatersheds = Range("WatershedNum").Value
NumWatersheds = "1"
' Write initial surface properties.
' indxRange.Offset(0, 1).Value = Range("TotaliArea").Value * 43560 / Range("WatershedNum").Value
indxRange.Offset(0, 1).Value = Range("TotaliArea").Value * 43560 / 1
' Write initial BMP properties.
indxRange.Offset(0, 7).Value = Range("BMPDepth").Value
indxRange.Offset(0, 8).Value = (1.02 * Range("HSG_A_Area").Value + 0.52 * Range("HSG_B_Area").Value + 0.27 * Range("HSG_C_Area").Value + _
0.05 * Range("HSG_D_Area").Value) / (Range("HSG_A_Area").Value + Range("HSG_B_Area").Value + _
Range("HSG_C_Area").Value + Range("HSG_D_Area").Value)

indxRange.Offset(0, 9).Value = 12.4
indxRange.Offset(0, 10).Value = 0.76
Range("percentile").FormulaArray = "=PERCENTILE(" & _
    "if('scratchpad'!R1C2:R" & _
    (Int(maxDate - minDate) + 1) & "C2>=" & threshold & _
    ", 'scratchpad'!R1C2:R" & _
    (Int(maxDate - minDate) + 1) & _
    "C2), 0.95)"
Range("percentile").Value = Range("percentile").Value
Range("percentile").Interior.ColorIndex = 44
  • Blocks 1 - 2: Was this spreadsheet designed with only one watershed in mind?
  • Block 3: What are these magic values? Will they ever need to be changed?
  • Block 4: This percentile calculation doesn't reflect what's occurring in the spreadsheet. Using a placeholder calculation until this can be clarified.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.