1 / 21

Network Flows and Linear Programming The Mathematical Madness behind the Magic

Network Flows and Linear Programming The Mathematical Madness behind the Magic. GoldSim Technology Group. Objective of the Flow Module. Given a system of discrete locations connected by conduits of flowing material… …determine the “optimal” flow of material through that network .

demont
Télécharger la présentation

Network Flows and Linear Programming The Mathematical Madness behind the Magic

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Network Flows and Linear ProgrammingThe Mathematical Madness behind the Magic GoldSim Technology Group

  2. Objective of the Flow Module • Given a system of discrete locations connected by conduits of flowing material… • …determine the “optimal” flow of material through that network.

  3. GoldSim 10.5: Solve using iteration Flow Solver

  4. Benefits • Optimal allocation of material • Mass conservation • Integrates handling of flow and transport • Built-in storage functions • Integrated handling of priorities and costs • Influence lines represent flows

  5. What do we mean by “Optimal”? • Meaning 1: Maximal Profit (e.g., commodity distribution) • If the network is controlled by a single operatorselling to multiple customers, then the goal is to maximize profit. • Example: Natural gas distributor (PSE) • Meaning 2: Prioritized Flow (e.g., water distribution) • In this case water is divided up based on various users’ priorities: • Priority 1 users get first dibs on water until all their demands are met… • …and so on until the lowest priority (farmers) get what’s left over. • The prioritized flow method uses the same underlying functions as maximal profit

  6. Flowing “Media” • The quantity of liquids and/or solids that flow from one discrete location to another. • Examples: water, CO2, rocks, sediment in water. • Assume incompressibleand volume is additive, taking porosity of any solid media into account. • For example, 1 gallon of water dumped into a tank containing 1 gallon of sediment whose porosity is 0.3 would consume a total volume of 1.7 gallons (1 gal of Water + (1 – 0.3)*1 gal of Sediment).

  7. Cells (Any Flow Network Elements) • Model elements that produce, consume, store, or route fluid. • Examples: • Pump • Evaporation • Detention pond • A city • Stockpile

  8. Flows (Influence Lines) • Flow links transport fluid from one cell to another. • We denote the value of a flow with • Units of media volume (or mass) per unit time (e.g., gal/day, kg/sec) • Examples: • A connection from one stretch of river (a reach) to another. • A pipe leading from a lake to a farm • Deliveries to a customer Flow,

  9. Flow Capacity and Costs • In most cases, a flux has a maximum capacity , so we have constraints of the form: • Sometimes it costs money to transport fluid along a particular flux. • This affects the net profit.

  10. Source Cells • A source cell feeds fluid into the system. • Source cells have infinite supply, but their outflow rate(s)may be limited. • Examples: • Rainfall in a particular geographic area • CO2 from a power plant • Sediments from erosion

  11. Sink Cells • A sink cell removes fluid from the system. • The capacity of sink to absorb fluid is infinite, but the inflow rate may be limited. • Examples: • Evaporation • Outflow from a river (model boundary) • Consumers

  12. Zero-Volume Cells (Routers) • Fixed-volume cells have no ability to store fluid, so their net inflow rate must match their net outflow rate: • In other words, they must have flow balance. • In this example, the router would impose the constraint:. • Specified media cells are old-style cells that are used to upgrade old CT models.

  13. User-Specified Cells • Cells found in current GoldSim version (CT module) • Distinct from Routers, which have zero volume • Implications on CT models (need volume for concentration to make sense)

  14. Dynamic Volume Cells (Stores) • The rate of change of fluid volume in that cell is equal to the sum of all inflows minus the sum of outflows: • If a dynamic cell is empty, outflow must be <= inflow: (nondecreasing volume) • If the cell is full, inflow <= outflow: (nonincreasing volume)

  15. Store Cells Attributes

  16. Demand Priorities and Revenues • Some cells (cities, farms) will pay for water. • This counts as revenue in the operator’s profit function. • Some users have priorities (water rights) • Priorities converted to costs in the solver • For each flux , its net benefit is: = (revenue due to ) – (cost of ).

  17. Simple Example…

More Related