an energy-based modeling and simulation framework for ... · modelling & simulation ....

84
ECO-BOND GRAPHS An Energy-Based Modeling and Simulation Framework for Complex Dynamic Systems with a focus on Sustainability and Embodied Energy Flows Dr. Rodrigo Castro ETH Zürich, Switzerland. University of Buenos Aires & CIFASIS-CONICET, Argentina. The 10th International Multidisciplinary Modelling & Simulation Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development & Environment

Upload: others

Post on 29-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

ECO-BOND GRAPHS An Energy-Based Modeling and Simulation Framework

for Complex Dynamic Systems with a focus on Sustainability and Embodied Energy Flows

Dr. Rodrigo Castro ETH Zürich, Switzerland.

University of Buenos Aires & CIFASIS-CONICET, Argentina.

The 10th International Multidisciplinary Modelling & Simulation Multiconference

The 1st Int’l. Workshop on Simulation for Energy, Sustainable

Development & Environment

Page 2: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 2

• Problem formulation – Emergy tracking & Complex Dynamics Systems

• Possible approaches • Our approach

– Networked Complex Processes – 3-faceted representation of energy flows

• The Bond Graph formalism • The new Eco Bond Graphs

– Definition – Examples – Simulation results

• Conclusions

Agenda

Page 3: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 3

System Theoretic Approach

• Complex Dynamics Systems – Global scale socio-natural processes

• We live in a nonlinear world, mostly away from equilibrium

Problem formulation

Page 4: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 4

System Theoretic Approach

• Complex Dynamics Systems – Global scale socio-natural processes

• We live in a nonlinear world, mostly away from equilibrium

Problem formulation

Page 5: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 5

System Theoretic Approach

• Complex Dynamics Systems – Global scale socio-natural processes

• We live in a nonlinear world, mostly away from equilibrium

Problem formulation

×

Page 6: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 6

System Theoretic Approach

• Complex Dynamics Systems – Global scale socio-natural processes

• We live in a nonlinear world, mostly away from equilibrium

Problem formulation

×

Page 7: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 7

Storages and Processes Problem formulation

• Flows of Mass and Energy – Each process can abstract several internal sub processes

Page 8: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 8

Storages and Processes Problem formulation

• Flows of Mass and Energy – Each process can abstract several internal sub processes

Page 9: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 9

Storages and Processes Problem formulation

• Flows of Mass and Energy – Each process can abstract several internal sub processes

Page 10: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 10

Storages and Processes Problem formulation

• Flows of Mass and Energy – Each process can abstract several internal sub processes

Page 11: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 11

Storages and Processes Problem formulation

“Grey Energy”

• Flows of Mass and Energy – Each process can abstract several internal sub processes

Page 12: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 12

Storages and Processes Problem formulation

“Grey Energy”

• Flows of Mass and Energy – Each process can abstract several internal sub processes

– We want to model systematically this type of systems – Structural approach Sustainability properties

Page 13: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 13

• Sankey Diagrams – Static (snapshot-like) World Energy Flow.

Considering energy losses Possible approaches

Page 14: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 14

• Sankey Diagrams – Static (snapshot-like) World Energy Flow.

Considering energy losses Possible approaches

Page 15: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 15

Considering energy losses

• Energy System Language (H.T. Odum) – Account for dynamics Differential Eqns.

Possible approaches

Page 16: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 16

Considering energy losses

• Energy System Language (H.T. Odum) – Account for dynamics Differential Eqns.

Possible approaches

Page 17: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 17

Considering energy losses

• Energy System Language (H.T. Odum) – Account for dynamics Differential Eqns.

Possible approaches

Page 18: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 18

Considering energy losses

• Energy System Language (H.T. Odum) – Account for dynamics Differential Eqns.

Possible approaches

Page 19: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 19

Networked processes

• Multi Input/Multi Output Processes – Including recycling paths

Our approach

Page 20: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 20

Networked processes

• Multi Input/Multi Output Processes – Including recycling paths

Our approach

Page 21: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 21

Networked processes

• Multi Input/Multi Output Processes – Including recycling paths

Our approach

P3

P5

P1

P2

P4P6

RB

RC

RA

Page 22: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 22

Focus on mass flows

• 3-Faceted representation

Our approach

Page 23: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 23

Focus on mass flows

• 3-Faceted representation

Our approach

Balance: Mass and Energy

Page 24: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 24

Focus on mass flows

• 3-Faceted representation

Our approach

Balance: Mass and Energy

321 EEEME ++=

1E

2E

3E Tracking: Emergy

Page 25: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 25

Focus on mass flows

• 3-Faceted representation

Our approach

Balance: Mass and Energy

321 EEEME ++=

1E

2E

3E Tracking: Emergy

Page 26: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 26

• Minimum required formulation – To achieve the modeling

goal systematically

• How do we formalize and generalize this structure ?

Basic formulation Our approach

Page 27: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 27

• Bondgraph is a graphical modeling technique – Rooted in the tracking of power [Joules/sec=Watt] – Represented by effort variables (e) and flow variables (f)

Bondgraphic approach The Bond Graph Formalism

e f

Power = e · f e: Effort f: Flow

Page 28: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 28

• Bondgraph is a graphical modeling technique – Rooted in the tracking of power [Joules/sec=Watt] – Represented by effort variables (e) and flow variables (f)

• Goal: – Sound physical modeling of generalized flows of energy – Self checking capabilities for thermodynamic feasibility

• Strategy: – Bondgraphic modeling of phenomenological processes – Including emergy tracking capabilities

Bondgraphic approach The Bond Graph Formalism

e f

Power = e · f e: Effort f: Flow

Page 29: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 29

Energy domains

• Bondgraph is multi-energy domain

The Bond Graph Formalism

e f

Page 30: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 30

Energy Domain

e Effort variable

f Flow variable

Mechanical, translation Force Linear velocity

Mechanical, rotation Torque Angular velocity

Electrical Electromotive force Current

Magnetic Magnetomotive force Flux rate

Hydraulic Pressure Volumetric flow rate

Thermal temperature entropy flow rate

Energy domains

• Bondgraph is multi-energy domain

The Bond Graph Formalism

e f

Page 31: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 31

• As every bond defines two separate variables – The effort e and the flow f – We need two equations to compute values for these two

variables • It is always possible to compute one of the two

variables at each side of the bond.

Causal Bonds The Bond Graph Formalism

e f

Page 32: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 32

• As every bond defines two separate variables – The effort e and the flow f – We need two equations to compute values for these two

variables • It is always possible to compute one of the two

variables at each side of the bond. • A vertical bar symbolizes the side where the flow is

being computed.

Causal Bonds The Bond Graph Formalism

e f

Page 33: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 33

• Local balances of energy

Junctions The Bond Graph Formalism

0 e1

e2

e3 f1

f2

f3

e2 = e1 e3 = e1 f1 = f2 + f3

1 e1

e2

e3 f1

f2

f3

f2 = f1 f3 = f1 e1 = e2+ e3

Page 34: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 34

• Local balances of energy

Junctions The Bond Graph Formalism

0 e1

e2

e3 f1

f2

f3

e2 = e1 e3 = e1 f1 = f2 + f3

1 e1

e2

e3 f1

f2

f3

f2 = f1 f3 = f1 e1 = e2+ e3

Junctions of type 0 have only one flow equation, and therefore, they must have exactly one causality bar.

Page 35: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 35

• Local balances of energy

Junctions The Bond Graph Formalism

0 e1

e2

e3 f1

f2

f3

e2 = e1 e3 = e1 f1 = f2 + f3

1 e1

e2

e3 f1

f2

f3

f2 = f1 f3 = f1 e1 = e2+ e3

Junctions of type 0 have only one flow equation, and therefore, they must have exactly one causality bar.

Junctions of type 1 have only one effort equation, and therefore, they must have exactly (n-1) causality bars.

Page 36: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 36

• An electrical energy domain model

Example I The Bond Graph Formalism

Electrical Circuit

Page 37: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 37

• An electrical energy domain model

Example I The Bond Graph Formalism

Electrical Circuit

Voltage Source

Capacitor

Resistor

Inductor

Resistor

Page 38: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 38

• An electrical energy domain model

Example I The Bond Graph Formalism

U0.e

U0.

eU

0.e

C1.e C1.e

C1.e

R1.e

U0.

fL1

.f

R1.f

R1.f R1.f R2.f

C1.f

Bondgraphic equivalent Electrical Circuit

Voltage Source

Capacitor

Resistor

Inductor

Resistor

Page 39: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 39

Example I

The Bond Graph Formalism

U0.e

U0.

e U

0.e

C1.e C1.e

C1.e

R1.e

U0.

f L1

.f

R1.f

R1.f R1.f R2.f

C1.f

Bondgraphic model

Page 40: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 40

Example I

The Bond Graph Formalism

U0.e

U0.

e U

0.e

C1.e C1.e

C1.e

R1.e

U0.

f L1

.f

R1.f

R1.f R1.f R2.f

C1.f

Bondgraphic model

Page 41: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 41

Example I

The Bond Graph Formalism

U0.e

U0.

e U

0.e

C1.e C1.e

C1.e

R1.e

U0.

f L1

.f

R1.f

R1.f R1.f R2.f

C1.f

Systematic derivation of equations Bondgraphic model

Page 42: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 42

Example I

The Bond Graph Formalism

U0.e

U0.

e U

0.e

C1.e C1.e

C1.e

R1.e

U0.

f L1

.f

R1.f

R1.f R1.f R2.f

C1.f

Systematic derivation of equations

U0 .e = f(t) Bondgraphic model

Page 43: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 43

Example I

The Bond Graph Formalism

U0.e

U0.

e U

0.e

C1.e C1.e

C1.e

R1.e

U0.

f L1

.f

R1.f

R1.f R1.f R2.f

C1.f

Systematic derivation of equations

U0 .e = f(t) U0 .f = L1 .f + R1 .f

Bondgraphic model

Page 44: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 44

Example I

The Bond Graph Formalism

U0.e

U0.

e U

0.e

C1.e C1.e

C1.e

R1.e

U0.

f L1

.f

R1.f

R1.f R1.f R2.f

C1.f

Systematic derivation of equations

U0 .e = f(t) U0 .f = L1 .f + R1 .f

d/dt L1.f = U0 .e / L1

Bondgraphic model

Page 45: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 45

Example I

The Bond Graph Formalism

U0.e

U0.

e U

0.e

C1.e C1.e

C1.e

R1.e

U0.

f L1

.f

R1.f

R1.f R1.f R2.f

C1.f

Systematic derivation of equations

U0 .e = f(t) U0 .f = L1 .f + R1 .f

d/dt L1.f = U0 .e / L1 R1 .e = U0 .e – C1 .e

Bondgraphic model

Page 46: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 46

Example I

The Bond Graph Formalism

U0.e

U0.

e U

0.e

C1.e C1.e

C1.e

R1.e

U0.

f L1

.f

R1.f

R1.f R1.f R2.f

C1.f

Systematic derivation of equations

U0 .e = f(t) U0 .f = L1 .f + R1 .f

d/dt L1.f = U0 .e / L1 R1 .e = U0 .e – C1 .e R1 .f = R1 .e / R1

Bondgraphic model

Page 47: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 47

Example I

The Bond Graph Formalism

U0.e

U0.

e U

0.e

C1.e C1.e

C1.e

R1.e

U0.

f L1

.f

R1.f

R1.f R1.f R2.f

C1.f

Systematic derivation of equations

U0 .e = f(t) U0 .f = L1 .f + R1 .f

d/dt L1.f = U0 .e / L1 R1 .e = U0 .e – C1 .e R1 .f = R1 .e / R1 C1 .f = R1 .f – R2 .f

Bondgraphic model

Page 48: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 48

Example I

The Bond Graph Formalism

U0.e

U0.

e U

0.e

C1.e C1.e

C1.e

R1.e

U0.

f L1

.f

R1.f

R1.f R1.f R2.f

C1.f

Systematic derivation of equations

U0 .e = f(t) U0 .f = L1 .f + R1 .f

d/dt L1.f = U0 .e / L1 R1 .e = U0 .e – C1 .e R1 .f = R1 .e / R1 C1 .f = R1 .f – R2 .f

d/dt C1.e = C1 .f / C1

Bondgraphic model

Page 49: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 49

Example I

The Bond Graph Formalism

U0.e

U0.

e U

0.e

C1.e C1.e

C1.e

R1.e

U0.

f L1

.f

R1.f

R1.f R1.f R2.f

C1.f

Systematic derivation of equations

U0 .e = f(t) U0 .f = L1 .f + R1 .f

d/dt L1.f = U0 .e / L1 R1 .e = U0 .e – C1 .e R1 .f = R1 .e / R1 C1 .f = R1 .f – R2 .f

d/dt C1.e = C1 .f / C1 R2 .f = C1 .e / R2

Bondgraphic model

Page 50: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 50

Example I

The Bond Graph Formalism

U0.e

U0.

e U

0.e

C1.e C1.e

C1.e

R1.e

U0.

f L1

.f

R1.f

R1.f R1.f R2.f

C1.f

Systematic derivation of equations

U0 .e = f(t) U0 .f = L1 .f + R1 .f

d/dt L1.f = U0 .e / L1 R1 .e = U0 .e – C1 .e R1 .f = R1 .e / R1 C1 .f = R1 .f – R2 .f

d/dt C1.e = C1 .f / C1 R2 .f = C1 .e / R2

Bondgraphic model

Page 51: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 51

Example I

The Bond Graph Formalism

U0.e

U0.

e U

0.e

C1.e C1.e

C1.e

R1.e

U0.

f L1

.f

R1.f

R1.f R1.f R2.f

C1.f

Systematic derivation of equations

U0 .e = f(t) U0 .f = L1 .f + R1 .f

d/dt L1.f = U0 .e / L1 R1 .e = U0 .e – C1 .e R1 .f = R1 .e / R1 C1 .f = R1 .f – R2 .f

d/dt C1.e = C1 .f / C1 R2 .f = C1 .e / R2

Bondgraphic model

Page 52: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 52

• A multi-energy domain model – Electricity – Mechanical rotational – Mechanical translational

Example II The Bond Graph Formalism

Special elements such as Gyrator and Transformer convert energy flows across diff. physical domains

Page 53: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 53

• A multi-energy domain model – Electricity – Mechanical rotational – Mechanical translational

Example II The Bond Graph Formalism

Special elements such as Gyrator and Transformer convert energy flows across diff. physical domains

Page 54: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 54

• A multi-energy domain model – Electricity – Mechanical rotational – Mechanical translational

Example II The Bond Graph Formalism

ua ia

ia

ia

ia

uRa

uLa

ui τ ω1

ω1

ω1

ω1

τB3

τB1

τB1

τB1

τJ1

ω2

ω12

ω2

ω2

ω2

τk1

τG FG

v

v

v v

v

FB2 Fk2

Fm -m·g τJ2

Special elements such as Gyrator and Transformer convert energy flows across diff. physical domains

Page 55: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 55

Facets and Bonds

• Bond Graph variables for Complex Systems – Facets 1 and 2

• Power variables: – Specific Enthalpy [J/kg] (an effort variable) – Mass Flow [kg/sec] (a flow variable). [J/sec] = [J/kg] · [kg/sec] represents power

• Information variable – Mass [Kg] (a state variable)

– Facet 3 (the emergy facet) • Information variable

– Specific Emergy [J/kg] (a structural variable) – [J/sec] = [J/kg] · [kg/sec] also denotes power

Eco Bond Graphs

EcoBG

Page 56: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 56

Facets and Bonds

• Bond Graph variables for Complex Systems – Facets 1 and 2

• Power variables: – Specific Enthalpy [J/kg] (an effort variable) – Mass Flow [kg/sec] (a flow variable). [J/sec] = [J/kg] · [kg/sec] represents power

• Information variable – Mass [Kg] (a state variable)

– Facet 3 (the emergy facet) • Information variable

– Specific Emergy [J/kg] (a structural variable) – [J/sec] = [J/kg] · [kg/sec] also denotes power

Eco Bond Graphs

EcoBG

Page 57: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 57

Facets and Bonds

• Bond Graph variables for Complex Systems – Facets 1 and 2

• Power variables: – Specific Enthalpy [J/kg] (an effort variable) – Mass Flow [kg/sec] (a flow variable). [J/sec] = [J/kg] · [kg/sec] represents power

• Information variable – Mass [Kg] (a state variable)

– Facet 3 (the emergy facet) • Information variable

– Specific Emergy [J/kg] (a structural variable) – [J/sec] = [J/kg] · [kg/sec] also denotes power

Eco Bond Graphs

EcoBG

Page 58: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 58

Facets and Bonds

• Bond Graph variables for Complex Systems – Facets 1 and 2

• Power variables: – Specific Enthalpy [J/kg] (an effort variable) – Mass Flow [kg/sec] (a flow variable). [J/sec] = [J/kg] · [kg/sec] represents power

• Information variable – Mass [Kg] (a state variable)

– Facet 3 (the emergy facet) • Information variable

– Specific Emergy [J/kg] (a structural variable) – [J/sec] = [J/kg] · [kg/sec] also denotes power

Eco Bond Graphs

EcoBG

Page 59: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 59

Facets and Bonds

• Bond Graph variables for Complex Systems – Facets 1 and 2

• Power variables: – Specific Enthalpy [J/kg] (an effort variable) – Mass Flow [kg/sec] (a flow variable). [J/sec] = [J/kg] · [kg/sec] represents power

• Information variable – Mass [Kg] (a state variable)

– Facet 3 (the emergy facet) • Information variable

– Specific Emergy [J/kg] (a structural variable) – [J/sec] = [J/kg] · [kg/sec] also denotes power

Eco Bond Graphs

EcoBG

Page 60: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 60

Accumulators

• The EcoBG Storage element – A Capacitive Field (CF) accumulates more than one

quantity: Enthalpy, Mass and Emergy

Eco Bond Graphs

The specific enthalpy is a property of the accumulated mass

Known in advance -> A parameter

q

Page 61: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 61

Junctions

• The EcoBG 0-Junction

Eco Bond Graphs

M1

Page 62: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 62

Reusable structures

• Basic unit based on EcoBG elements – An important “building block”

• Storage of mass and energy adhering to the proposed 3-Faceted approach:

Eco Bond Graphs

M1 M2

M3

Page 63: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 63

Modeling processes

• EcoBG Process elements

Eco Bond Graphs

Page 64: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 64

Modeling processes

• EcoBG Process elements

Eco Bond Graphs

Page 65: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 65

Modeling processes

• EcoBG Process elements

Eco Bond Graphs

Page 66: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 66

Example

• Extraction of renewable resources for consumption

Eco Bond Graphs

Page 67: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 67

Example

• Extraction of renewable resources for consumption

Eco Bond Graphs

Natural Renewable Primary

Reservoir

Consumption Secondary Reservoir Supply

Process

Demand

Process

Page 68: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 68

Software tools

• EcoBG library implemented in the Dymola® tool.

Eco Bond Graphs

Page 69: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 69

Software tools

• EcoBG library implemented in the Dymola® tool.

Eco Bond Graphs

Natural Renewable Primary

Reservoir

Consumption Secondary Reservoir

Supply Process

Demand

Process

Page 70: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 70

The Mass Layer Eco Bond Graphs

Rain

Accumulated Deposit (Ma)

Consumption Reservoir (Mc)

Human Demand

Page 71: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 71

The Mass Layer Eco Bond Graphs

Rain

Accumulated Deposit (Ma)

Consumption Reservoir (Mc)

Human Demand

dcirrscasc

casra

MMKMMKMMMKMM

−−=

−=

..

..

Page 72: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 72

The Mass Layer Eco Bond Graphs

Rain

Accumulated Deposit (Ma)

Consumption Reservoir (Mc)

Human Demand

dcirrscasc

casra

MMKMMKMMMKMM

−−=

−=

..

..

ra MM +=

dcirrdc MMKM −−=

cirrscasc

casa

MKMMKMMMKM

−=

=

..

..

Page 73: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 73

The Mass Layer Eco Bond Graphs

Rain

Accumulated Deposit (Ma)

Consumption Reservoir (Mc)

Human Demand

dcirrscasc

casra

MMKMMKMMMKMM

−−=

−=

..

..

ra MM +=

dcirrdc MMKM −−=

cirrscasc

casa

MKMMKMMMKM

−=

=

..

..

Page 74: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 74

The Mass Layer Eco Bond Graphs

Rain

Accumulated Deposit (Ma)

Consumption Reservoir (Mc)

Human Demand

dcirrscasc

casra

MMKMMKMMMKMM

−−=

−=

..

..

sKgM r 2=

KgM a 1500, = KgM c 10, =

1.0

001.0

=

=irrs

s

KK

sKgM d 05.0=

0=dirrK

ra MM +=

dcirrdc MMKM −−=

cirrscasc

casa

MKMMKMMMKM

−=

=

..

..

Page 75: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 75

Energy and Emergy Layers Eco Bond Graphs

Rain

Accumulated Deposit (Ma)

Consumption Reservoir (Mc)

Human Demand

Page 76: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 76

Energy and Emergy Layers Eco Bond Graphs

Rain

Accumulated Deposit (Ma)

Consumption Reservoir (Mc)

Human Demand

).(.)...(.

)...(.).(.

dcccascac

casaarrra

MhTrMMKhTrMEMMKhTrMhTrME

−=

−=

Page 77: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 77

Energy and Emergy Layers Eco Bond Graphs

Rain

Accumulated Deposit (Ma)

Consumption Reservoir (Mc)

Human Demand

).(.)...(.

)...(.).(.

dcccascac

casaarrra

MhTrMMKhTrMEMMKhTrMhTrME

−=

−=

Page 78: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 78

Energy and Emergy Layers Eco Bond Graphs

Rain

Accumulated Deposit (Ma)

Consumption Reservoir (Mc)

Human Demand

).(.)...(.

)...(.).(.

dcccascac

casaarrra

MhTrMMKhTrMEMMKhTrMhTrME

−=

−=

).(. rrra MhTrME +=

).(. dccc MhTrME −=

)...(.

)...(.

cascac

casaaa

MMKhTrMEMMKhTrME

+=

−=

Page 79: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 79

Energy and Emergy Layers Eco Bond Graphs

Rain

Accumulated Deposit (Ma)

Consumption Reservoir (Mc)

Human Demand

).(.)...(.

)...(.).(.

dcccascac

casaarrra

MhTrMMKhTrMEMMKhTrMhTrME

−=

−=

).(. rrra MhTrME +=

).(. dccc MhTrME −=

)...(.

)...(.

cascac

casaaa

MMKhTrMEMMKhTrME

+=

−=

Page 80: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 80

Energy and Emergy Layers Eco Bond Graphs

Rain

Accumulated Deposit (Ma)

Consumption Reservoir (Mc)

Human Demand

1

1

1

==

=

=

r

rr

r

r

hemTr

kgJem

kgJh

kgJha 1=

kgJhc 1=

001.0=sK

).(.)...(.

)...(.).(.

dcccascac

casaarrra

MhTrMMKhTrMEMMKhTrMhTrME

−=

−=

).(. rrra MhTrME +=

).(. dccc MhTrME −=

)...(.

)...(.

cascac

casaaa

MMKhTrMEMMKhTrME

+=

−=

Page 81: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 81

• Accumulated quantities (Deposit and Reservoir)

Simulation results Eco Bond Graphs

eq.

Energy Emergy

Transformity

eq.

eq.

Page 82: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 82

• Experiment: Rain flow reduced 4x. Results for Reservoir.

Simulation results Eco Bond Graphs

Mass

Energy Emergy

Page 83: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 83

• Eco Bond Graphs – A new “Plumbing Technology” for modeling Complex Dynamics Systems – A low-level tool to equip other higher-level modeling formalisms

• with the ability to track emergy flows

• Hierarchical interconnection of EcoBG subsystems – Automatic and systematic evaluation of sustainability:

• global tracking of emergy and • local checking of energy balances

• M&S practice – The laws of thermodynamics are not an opinable subject

• Every sustainability-oriented effort should -at some point- consider emergy

• We should become able to inform both: • decision makers (experts, politicians, corporations) and • people who express their wishes (democratic societies)

– about which are the feasible physical boundaries • within which their -largely opinable- desires and/or plans can

be possibly implemented in a sustainable fashion.

Conclusions

Page 84: An Energy-Based Modeling and Simulation Framework for ... · Modelling & Simulation . Multiconference The 1st Int’l. Workshop on Simulation for Energy, Sustainable Development &

Dr. Rodrigo Castro I3M–SESDE 2013. Athens, Greece . September 27, 2013. 84

Q&A

[email protected] [email protected] [email protected]

Thanks for your attention !