1 / 23

Comprehensive Overview of Chemical and Hydraulic Models in Dymola

This document provides a detailed exploration of various chemical and hydraulic models as implemented in Dymola. It covers non-equilibrium behavior, chemical reactions, solubility, and diffusion processes, along with the application of Henry's law. The hydraulic models include concepts like hydrostatic pressure and hydraulic inertia. Additionally, thermal models such as ideal radiators and osmotic processes in membranes and cells are discussed. This resource aims to facilitate a better understanding of the mathematical relationships and principles governing these systems.

dian
Download Presentation

Comprehensive Overview of Chemical and Hydraulic Models in Dymola

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. Physiolibrary v1.0 MarekMatejak

  2. Types • Dymola display units setting: copy Resources\DymolaSettings\displayunit.mos to C:\Program Files\Dymola 2014\insert\ • Example – parameters in display units:

  3. Types.Constants

  4. Icons

  5. Blocks.Factors

  6. Chemical

  7. Chemical.Substance • Non-equilibrium behavior: q_out.conc = solute/solventVolume; der(solute)=q_out.q;

  8. Chemical.MolarStream q_in.q = solventFlow*q_in.conc; q_in.q + q_out.q = 0; • Only forward direction! • Flow and q_out.concare independent ! • Input concentration q_in.conc is not in inStream() ! • The value of flow-concentration is q/solventFlow.

  9. Chemical.Diffusion

  10. Chemical.ChemicalReaction • A <-> B, K=[B]/[A], kf*[A], kr*[B]

  11. Type of ChemicalReaction • A + 2X <-> 3B + 4Y + 5Z, kf [A] [X]2, K= ([B]3 [Y]4 [Z]5 )/([A] [X]2),kr [B]3 [Y]4 [Z]5

  12. Chemical.GasSolubility q_out.q = solubilityRateCoef*(q_out.conc - kH * q_in.conc); q_in.q + q_out.q = 0; • Henry’s law of dissolved gas in liquid: • kH = [Xliquid]/[Xgas] … Henry's lawconstant

  13. Hydraulic

  14. Hydraulic.ElacticBalloon

  15. Hydraulic.Hydrostatic • Add pressure of hydrostatic column q_down.pressure = q_up.pressure + G*ro*height; q_up.q + q_down.q = 0;

  16. Hydraulic.Inertia I*der(q_in.q) = (q_in.pressure-q_out.pressure); q_up.q + q_down.q = 0;

  17. Thermal

  18. Thermal.IdealRadiator q_in.q = substanceFlow*(q_in.T-q_out.T)*specificHeat_; q_in.q + q_out.q = 0;

  19. Osmotic

  20. Osmotic.Membrane q_in.q = cond * ( q_out.o*(Modelica.Constants.R*temperature)  -q_in.o*(Modelica.Constants.R*temperature)); q_in.q + q_out.q = 0;

  21. Osmotic.OsmoticCell q_in.o = impermeableSolutes / volume; der(volume)=q_in.q

  22. Mixed • Ideal gas equation v.pressure = n.conc * R * T; n.q + n.conc * v.q=0; • Partial pressure = ideal gas equation + gas solubility

  23. Thank you for attention! • Questions?

More Related