1 / 15

Multi-Domain Modeling

Multi-Domain Modeling. Issue: Simulating Networks In Simulink. Simulink in barebones form not-well suited for simulating networks/nodal systems 1) No sense of bi-directionality 2) No notion of ‘nodes’

jenny
Download Presentation

Multi-Domain Modeling

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. Multi-Domain Modeling

  2. Issue: Simulating Networks In Simulink • Simulink in barebones form not-well suited for simulating networks/nodal systems • 1) No sense of bi-directionality • 2) No notion of ‘nodes’ • 3) Energy conservation has to be maintained via algebraic constraint blocks in each sub-unit • Can be done….but very messy, difficult to expand

  3. Option #1: Custom Matrix Solver • Approach • Solve network state in one custom block • Pros • Better understood on how to get the correct solution • Cons • Not well-suited for ‘group’ approach • Code interface to solver block could get messy fast • Hard to expand to new sub-systems

  4. Option #2: Simscape • Approach • Use Simulink ‘Simscape’ Libraries • Pros • Let Simulink do the book-keeping for energy conservation, flows, network state, time etc • Graphical components for building networks • Cons • Built-inHydraulic domain assumes constant temperature • New thermo/hydraulic domain (and accompanying components) have to be written/re-written

  5. What is Simscape? • A simulink package to model physical domains and networks • Based off of ‘Bond-Graph’ Theory • Physical dynamic systems can be abstracted into networks in which: • 1) There exists “Flow” variables • 2) There exists “Effort” variables • 3) Energy is conserved

  6. Example Simscape Network

  7. Plan of Attack • How to write a domain that couples hydraulic and thermal behavior? • Learn the mechanics of ‘Simscape’ Language (structure, syntax, etc) • Test with a sample, energy conserving networks • How to modify that domain to accurately model our system? • Mass flow rate, pressure, enthalpy, momentum, etc. • Build a source, flowing into a simple network of pipes

  8. Writing New Multi-Domain Models Electro-Hydraulic Servo valve Example

  9. Initial ‘Toy’ Thermal/Hydraulic Domain • 2 ‘Effort’ (across) variables • Temperature and Pressure drops • 2 Corresponding ‘FLOW’ variables • Power = Flow*Effort • Energy conserving variables noted • Default values assigned (but are over-written in each model)

  10. Writing Thermo/Hydraulic Components At,p + qf qt Bt,p - Component Template

  11. “Toy” Thermo-hydraulic Pipe Model • Includes both domains, but not coupled • Units matter!! Constraints, not assignments!

  12. Writing Thermo/Hydraulic Components Reference node

  13. Example 1: Divider-like loop

  14. Example 2: Addition of External Heat Source

  15. Moving on to the next step… • What are our effort variables and units? • What are our flow variables and units? • What are the governing network equations, in nodal form? • What are the domain coupling expressions/constraints between the two domains?

More Related