a net-based formal framework for causal loop diagrams · a net-based formal framework for causal...

34
A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou 1 and Shin Nakajima 2 1 HASLab INESC TEC & University of Minho, Braga, Portugal 2 NaEonal InsEtute of InformaEcs, Tokyo, Japan CSD&M Asia 2018

Upload: others

Post on 20-Aug-2020

10 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

A Net-based Formal Framework for Causal Loop Diagrams

Guillermina Cledou1 and Shin Nakajima2

1 HASLab INESC TEC & University of Minho, Braga, Portugal 2 NaEonal InsEtute of InformaEcs, Tokyo, Japan

CSD&M Asia 2018

Page 2: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

Managing complex systems

Context

!2

Calendar Time (CT)

Due Date (DD)

Time Remaining

(TR)

Assignment Rate (AR)

Work Pressure (WP)

Workweek (WW)

Effort Devoted to Assignments

(EDA)

Assignment Backlog (AB)

Productivity (PD)

Work Completion Rate (WCR)

++

+

+

+

+

Structure Behaviour Dynamics

Page 3: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

Managing complex systems

Context

!3

Calendar Time (CT)

Due Date (DD)

Time Remaining

(TR)

Assignment Rate (AR)

Work Pressure (WP)

Workweek (WW)

Effort Devoted to Assignments

(EDA)

Assignment Backlog (AB)

Productivity (PD)

Work Completion Rate (WCR)

++

+

+

+

+

Structure Behaviour Dynamics

Understand causal links between variables of the system

Page 4: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

Managing complex systems

Context

!4

Calendar Time (CT)

Due Date (DD)

Time Remaining

(TR)

Assignment Rate (AR)

Work Pressure (WP)

Workweek (WW)

Effort Devoted to Assignments

(EDA)

Assignment Backlog (AB)

Productivity (PD)

Work Completion Rate (WCR)

++

+

+

+

+

Structure Behaviour Dynamics

Understand causal links between variables of the system

(QualitaEve approach)Causal Loop Diagrams (CLD)

Page 5: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

Illustrates causal links between concepts

Abstracts from quanHHes

Describes system structure

Brings out dynamic behaviour

Causal Loop Diagrams

!5

Causes and Effects

+Var1 Var2 -Var2 Var1

Var1 Var2

+

-

++

Variables only Increase or Decrease

Links’ polariHes: How the independent variable affects the dependent one?

(delay)

Page 6: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

Causal Loop Diagrams

!6

Reinforcing Balancing1.4 SYSTEM STRUCTURE AND PATTERNS OF BEHAVIOR 9

Figure 1.5 Positive (reinforcing) feedback loop: Growth of bank balance

An alternative notation is used in some presentations of causal loop diagrams.With this alternate notation, a lower case s is used instead of a + on a link, anda lower case o is used instead of a −. The s stands for “same,” and the ostands for “opposite,” indicating that the variables at the two ends of the linkmove in either the same direction (s) or opposite directions (o). For the loops, acapital R is used instead of (+), and a capital B is used instead of (−). The Rstands of “reinforcing,” and the B stands for “balancing.” The reason for usingthese specific terms will become clearer as we discuss the patterns of behaviorassociated with different system structures in the next section.

1.4 System Structure and Patterns of Behavior

This section presents simple structures which lead to the typical patterns of be-havior shown earlier in Figure 1.2. While the structures of most managementsystems are more complicated than those shown here, these structures are build-ing blocks from which more complex models can be constructed.

Positive (Reinforcing) Feedback Loop

A positive, or reinforcing, feedback loop reinforces change with even morechange. This can lead to rapid growth at an ever-increasing rate. This typeof growth pattern is often referred to as exponential growth. Note that in theearly stages of the growth, it seems to be slow, but then it speeds up. Thus, thenature of the growth in a management system that has a positive feedback loopcan be deceptive. If you are in the early stages of an exponential growth process,something that is going to be a major problem can seem minor because it is

1.4 SYSTEM STRUCTURE AND PATTERNS OF BEHAVIOR 11

Figure 1.7 Negative feedback loop with delay: Service quality

Negative Feedback Loop with Delay

A negative feedback loop with a substantial delay can lead to oscillation. Thespecific behavior depends on the characteristics of the particular loop. In somecases, the value of a variable continues to oscillate indefinitely, as shown above.In other cases, the amplitude of the oscillations will gradually decrease, andthe variable of interest will settle toward a goal. Figure 1.7 illustrates negativefeedback with a delay in the context of service quality. (This example assumesthat there are fixed resources assigned to service.)

Multi-level production and distribution systems can display this type of be-havior because of delays in conveying information about the actual customerdemand for a product to the manufacturing facility. Because of these delays,production continues long after enough product has been manufactured to meetdemand. Then production is cut back far below what is needed to replace itemsthat are sold while the excess inventory in the system is worked off. This cyclecan continue indefinitely, which places significant strains on the management ofthe process. For example, there may be a pattern of periodic hiring and layoffs.There is some evidence that what are viewed as seasonal variations in customerdemand in some industries are actually oscillations caused by delays in negativefeedback loops within the production-distribution system.

10 CHAPTER 1 SYSTEM BEHAVIOR AND CAUSAL LOOP DIAGRAMS

Figure 1.6 Negative (balancing) feedback loop: Regulating an elective blanket

growing slowly. By the time the growth speeds up, it may be too late to solvewhatever problem this growth is creating. Examples that some people believefit this category include pollution and population growth. Figure 1.5 shows awell know example of a positive feedback loop: Growth of a bank balance wheninterest is left to accumulate.

Sometimes positive feedback loops are called vicious or virtuous cycles, de-pending on the nature of the change that is occurring. Other terms used todescribe this type of behavior include bandwagon effects or snowballing.

Negative (Balancing) Feedback Loop

A negative, or balancing, feedback loop seeks a goal. If the current level of thevariable of interest is above the goal, then the loop structure pushes its valuedown, while if the current level is below the goal, the loop structure pushes itsvalue up. Many management processes contain negative feedback loops whichprovide useful stability, but which can also resist needed changes. In the face ofan external environment which dictates that an organization needs to change, itcontinues on with similar behavior. These types of feedback loops are so powerfulin some organizations that the organizations will go out of business rather thanchange. Figure 1.6 shows a negative feedback loop diagram for the regulation ofan electric blanket temperature.

Balancing with delay

[C.W. Kirkwood, System Dynamic Methods]

Page 7: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

Challenges • Complex interacEons

• Informal semanEcs

Causal Loop Diagrams

!7

4.2. Consumer decision-making loops

Since GHG mitigation policies may ultimately be aimed ateither changing consumer behavior directly or changing theattributes of products that consumers purchase, capturingconsumer decision making is important. Three loops help capturethe cause-and-effect relationships that affect vehicle purchasedecision making by a consumer. Consumer preferences forvehicles are influenced by a number of factors including price,performance, fuel economy, size, safety features, and otherattributes. For this paper, we illustrate our model using threeattribute categories that are particularly important: vehicleprice, performance, and fuel economy (Berry et al., 2004; Mauet al., 2008). The CLD reflects the decisions consumers make

among these three categories of vehicle characteristics throughutility. Utility, or the level of desirability of the consumptionof a good, dictates what choices are made when well-knownassumptions in economic modeling are considered (Berryet al., 1995, 2004; Greene et al., 2004; Turrentine and Kurani,2007).

Fig. 3 represents the consumer demand loop for fuel efficientvehicles. US consumers have historically made purchasing deci-sions that emphasized performance over fuel economy. However,as shown by the recent increase in fuel prices (i.e. cost/mile),consumers are starting to turn towards more fuel efficientvehicles (Morris, 2008). This implies a positive correlationbetween fuel prices and the relative marginal utility of fuelefficiency in consumer decision making.

ARTICLE IN PRESS

New Vehicle Price

Relative Marginal Utilityof Efficiency vs.Performance

- Present VehiclePopulation

Used Vehicles forSale

Number ofScrapped Vehicles

Used VehiclePrices

-

Miles/Veh

Fuel Price

Total Vehicle MilesTraveled

+

Cost/mile

-

+

Fuel EmissionsFactors

In-Use Emissions

+

+

Unit Profit

+

Production Cost

Producer Supply ofNew Vehicles

+

-

LW RecycledMaterial Stock

Recyclability

LW VirginMaterial Stock

LightweightMaterial Price

Total LightweightMaterial Stock

++

-

LW RecycledMatetial Production

+

+

LW Virgin Explorationand Production

+

+

+

+

Material EmissionsFactors

Vehicle ProductionEmission Factors

ProductionEmissions

+

B2B3

Scrappage Rate

Fuel Demand

+

+

B7

B4

Degree of MarketSaturation

R1

Fuel Demand

RecycledMaterial

Virgin Material

Producer Profit

Scrappage of AgingVehicles Effect

Used VehiclesPopulation

++

+

-

+-

-

+

+

+

+

+

External Sources ofRecycled Material

+

-

New VehicleDemand

+

B8

Market Saturationof Vehicles

Market Share of FuelEfficient Vehicles -

B6

ConsumerDemand for Fuel

EfficientVehicles

+

+

Producer Emphasison Efficiency

+

+

B5

Producer-ConsumerInteraction Effects

Vehicle FuelEfficiency

+

<Vehicle FuelEfficiency>

-

+

LightweightMaterial Demand

+

+

<Producer Supply ofNew Vehicles>

+

+ +

Marginal ProductionCost of Efficiency

+

New VehiclePurchases

+

<New VehicleDemand>

+

<LW RecycledMaterial Stock>

-

+

B1

VehiclePrice-Demand Effect

+

+

<Vehicle FuelEfficiency> +

B9

<Vehicle FuelEfficiency>

-

Market RetailPrice

+

-

Fig. 2. Causal loop diagram for the entire system.

M.D. Stepp et al. / Energy Policy 37 (2009) 2774–2787 2777

[M.D. Stepp et al., Greenhouse gas mitigation policies and the transportation sector: The role of feedback

effects on policy effectiveness]

Page 8: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

Challenges • Complex interacEons

• Informal semanEcs

Causal Loop Diagrams

!8

4.2. Consumer decision-making loops

Since GHG mitigation policies may ultimately be aimed ateither changing consumer behavior directly or changing theattributes of products that consumers purchase, capturingconsumer decision making is important. Three loops help capturethe cause-and-effect relationships that affect vehicle purchasedecision making by a consumer. Consumer preferences forvehicles are influenced by a number of factors including price,performance, fuel economy, size, safety features, and otherattributes. For this paper, we illustrate our model using threeattribute categories that are particularly important: vehicleprice, performance, and fuel economy (Berry et al., 2004; Mauet al., 2008). The CLD reflects the decisions consumers make

among these three categories of vehicle characteristics throughutility. Utility, or the level of desirability of the consumptionof a good, dictates what choices are made when well-knownassumptions in economic modeling are considered (Berryet al., 1995, 2004; Greene et al., 2004; Turrentine and Kurani,2007).

Fig. 3 represents the consumer demand loop for fuel efficientvehicles. US consumers have historically made purchasing deci-sions that emphasized performance over fuel economy. However,as shown by the recent increase in fuel prices (i.e. cost/mile),consumers are starting to turn towards more fuel efficientvehicles (Morris, 2008). This implies a positive correlationbetween fuel prices and the relative marginal utility of fuelefficiency in consumer decision making.

ARTICLE IN PRESS

New Vehicle Price

Relative Marginal Utilityof Efficiency vs.Performance

- Present VehiclePopulation

Used Vehicles forSale

Number ofScrapped Vehicles

Used VehiclePrices

-

Miles/Veh

Fuel Price

Total Vehicle MilesTraveled

+

Cost/mile

-

+

Fuel EmissionsFactors

In-Use Emissions

+

+

Unit Profit

+

Production Cost

Producer Supply ofNew Vehicles

+

-

LW RecycledMaterial Stock

Recyclability

LW VirginMaterial Stock

LightweightMaterial Price

Total LightweightMaterial Stock

++

-

LW RecycledMatetial Production

+

+

LW Virgin Explorationand Production

+

+

+

+

Material EmissionsFactors

Vehicle ProductionEmission Factors

ProductionEmissions

+

B2B3

Scrappage Rate

Fuel Demand

+

+

B7

B4

Degree of MarketSaturation

R1

Fuel Demand

RecycledMaterial

Virgin Material

Producer Profit

Scrappage of AgingVehicles Effect

Used VehiclesPopulation

++

+

-

+-

-

+

+

+

+

+

External Sources ofRecycled Material

+

-

New VehicleDemand

+

B8

Market Saturationof Vehicles

Market Share of FuelEfficient Vehicles -

B6

ConsumerDemand for Fuel

EfficientVehicles

+

+

Producer Emphasison Efficiency

+

+

B5

Producer-ConsumerInteraction Effects

Vehicle FuelEfficiency

+

<Vehicle FuelEfficiency>

-

+

LightweightMaterial Demand

+

+

<Producer Supply ofNew Vehicles>

+

+ +

Marginal ProductionCost of Efficiency

+

New VehiclePurchases

+

<New VehicleDemand>

+

<LW RecycledMaterial Stock>

-

+

B1

VehiclePrice-Demand Effect

+

+

<Vehicle FuelEfficiency> +

B9

<Vehicle FuelEfficiency>

-

Market RetailPrice

+

-

Fig. 2. Causal loop diagram for the entire system.

M.D. Stepp et al. / Energy Policy 37 (2009) 2774–2787 2777

[M.D. Stepp et al., Greenhouse gas mitigation policies and the transportation sector: The role of feedback

effects on policy effectiveness]

PaOern of behaviour?

?Eme

X

Page 9: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

Challenges • Complex interacEons

• Informal semanEcs

Causal Loop Diagrams

!9

4.2. Consumer decision-making loops

Since GHG mitigation policies may ultimately be aimed ateither changing consumer behavior directly or changing theattributes of products that consumers purchase, capturingconsumer decision making is important. Three loops help capturethe cause-and-effect relationships that affect vehicle purchasedecision making by a consumer. Consumer preferences forvehicles are influenced by a number of factors including price,performance, fuel economy, size, safety features, and otherattributes. For this paper, we illustrate our model using threeattribute categories that are particularly important: vehicleprice, performance, and fuel economy (Berry et al., 2004; Mauet al., 2008). The CLD reflects the decisions consumers make

among these three categories of vehicle characteristics throughutility. Utility, or the level of desirability of the consumptionof a good, dictates what choices are made when well-knownassumptions in economic modeling are considered (Berryet al., 1995, 2004; Greene et al., 2004; Turrentine and Kurani,2007).

Fig. 3 represents the consumer demand loop for fuel efficientvehicles. US consumers have historically made purchasing deci-sions that emphasized performance over fuel economy. However,as shown by the recent increase in fuel prices (i.e. cost/mile),consumers are starting to turn towards more fuel efficientvehicles (Morris, 2008). This implies a positive correlationbetween fuel prices and the relative marginal utility of fuelefficiency in consumer decision making.

ARTICLE IN PRESS

New Vehicle Price

Relative Marginal Utilityof Efficiency vs.Performance

- Present VehiclePopulation

Used Vehicles forSale

Number ofScrapped Vehicles

Used VehiclePrices

-

Miles/Veh

Fuel Price

Total Vehicle MilesTraveled

+

Cost/mile

-

+

Fuel EmissionsFactors

In-Use Emissions

+

+

Unit Profit

+

Production Cost

Producer Supply ofNew Vehicles

+

-

LW RecycledMaterial Stock

Recyclability

LW VirginMaterial Stock

LightweightMaterial Price

Total LightweightMaterial Stock

++

-

LW RecycledMatetial Production

+

+

LW Virgin Explorationand Production

+

+

+

+

Material EmissionsFactors

Vehicle ProductionEmission Factors

ProductionEmissions

+

B2B3

Scrappage Rate

Fuel Demand

+

+

B7

B4

Degree of MarketSaturation

R1

Fuel Demand

RecycledMaterial

Virgin Material

Producer Profit

Scrappage of AgingVehicles Effect

Used VehiclesPopulation

++

+

-

+-

-

+

+

+

+

+

External Sources ofRecycled Material

+

-

New VehicleDemand

+

B8

Market Saturationof Vehicles

Market Share of FuelEfficient Vehicles -

B6

ConsumerDemand for Fuel

EfficientVehicles

+

+

Producer Emphasison Efficiency

+

+

B5

Producer-ConsumerInteraction Effects

Vehicle FuelEfficiency

+

<Vehicle FuelEfficiency>

-

+

LightweightMaterial Demand

+

+

<Producer Supply ofNew Vehicles>

+

+ +

Marginal ProductionCost of Efficiency

+

New VehiclePurchases

+

<New VehicleDemand>

+

<LW RecycledMaterial Stock>

-

+

B1

VehiclePrice-Demand Effect

+

+

<Vehicle FuelEfficiency> +

B9

<Vehicle FuelEfficiency>

-

Market RetailPrice

+

-

Fig. 2. Causal loop diagram for the entire system.

M.D. Stepp et al. / Energy Policy 37 (2009) 2774–2787 2777

[M.D. Stepp et al., Greenhouse gas mitigation policies and the transportation sector: The role of feedback

effects on policy effectiveness]

PaOern of behaviour?

?Eme

X

SimulaEon (not exhausEve)

Page 10: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

Challenges • Complex interacEons

• Informal semanEcs

Causal Loop Diagrams

!10

4.2. Consumer decision-making loops

Since GHG mitigation policies may ultimately be aimed ateither changing consumer behavior directly or changing theattributes of products that consumers purchase, capturingconsumer decision making is important. Three loops help capturethe cause-and-effect relationships that affect vehicle purchasedecision making by a consumer. Consumer preferences forvehicles are influenced by a number of factors including price,performance, fuel economy, size, safety features, and otherattributes. For this paper, we illustrate our model using threeattribute categories that are particularly important: vehicleprice, performance, and fuel economy (Berry et al., 2004; Mauet al., 2008). The CLD reflects the decisions consumers make

among these three categories of vehicle characteristics throughutility. Utility, or the level of desirability of the consumptionof a good, dictates what choices are made when well-knownassumptions in economic modeling are considered (Berryet al., 1995, 2004; Greene et al., 2004; Turrentine and Kurani,2007).

Fig. 3 represents the consumer demand loop for fuel efficientvehicles. US consumers have historically made purchasing deci-sions that emphasized performance over fuel economy. However,as shown by the recent increase in fuel prices (i.e. cost/mile),consumers are starting to turn towards more fuel efficientvehicles (Morris, 2008). This implies a positive correlationbetween fuel prices and the relative marginal utility of fuelefficiency in consumer decision making.

ARTICLE IN PRESS

New Vehicle Price

Relative Marginal Utilityof Efficiency vs.Performance

- Present VehiclePopulation

Used Vehicles forSale

Number ofScrapped Vehicles

Used VehiclePrices

-

Miles/Veh

Fuel Price

Total Vehicle MilesTraveled

+

Cost/mile

-

+

Fuel EmissionsFactors

In-Use Emissions

+

+

Unit Profit

+

Production Cost

Producer Supply ofNew Vehicles

+

-

LW RecycledMaterial Stock

Recyclability

LW VirginMaterial Stock

LightweightMaterial Price

Total LightweightMaterial Stock

++

-

LW RecycledMatetial Production

+

+

LW Virgin Explorationand Production

+

+

+

+

Material EmissionsFactors

Vehicle ProductionEmission Factors

ProductionEmissions

+

B2B3

Scrappage Rate

Fuel Demand

+

+

B7

B4

Degree of MarketSaturation

R1

Fuel Demand

RecycledMaterial

Virgin Material

Producer Profit

Scrappage of AgingVehicles Effect

Used VehiclesPopulation

++

+

-

+-

-

+

+

+

+

+

External Sources ofRecycled Material

+

-

New VehicleDemand

+

B8

Market Saturationof Vehicles

Market Share of FuelEfficient Vehicles -

B6

ConsumerDemand for Fuel

EfficientVehicles

+

+

Producer Emphasison Efficiency

+

+

B5

Producer-ConsumerInteraction Effects

Vehicle FuelEfficiency

+

<Vehicle FuelEfficiency>

-

+

LightweightMaterial Demand

+

+

<Producer Supply ofNew Vehicles>

+

+ +

Marginal ProductionCost of Efficiency

+

New VehiclePurchases

+

<New VehicleDemand>

+

<LW RecycledMaterial Stock>

-

+

B1

VehiclePrice-Demand Effect

+

+

<Vehicle FuelEfficiency> +

B9

<Vehicle FuelEfficiency>

-

Market RetailPrice

+

-

Fig. 2. Causal loop diagram for the entire system.

M.D. Stepp et al. / Energy Policy 37 (2009) 2774–2787 2777

[M.D. Stepp et al., Greenhouse gas mitigation policies and the transportation sector: The role of feedback

effects on policy effectiveness]

PaOern of behaviour?

?Eme

X

SimulaEon (not exhausEve)

Formal Analysis (exhausEve)Formal semanHcs

Page 11: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

t0 t1

t2

t4

t3

p1 p2 p3

Petri Nets

!11

Places

TransiHons

Flows

Tokens

p0

IniHal MarkingM0 =(1,0,0,0)

True Concurrency • MulEple transiEons enabled

• TransiEons fired one at a Eme

Page 12: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

Causal Loop Nets

!12

Variables as places

Links as transiHons with polarity

Causal Loop Nets

Direct correspondencet1

t2

t4

t3

+ -

+ +Public

Transport

Traffic Volume

Traveling Times

TravelingTimes

PublicTransport

TrafficVolume

+

+ +

-

Page 13: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

Causal Loop Nets

!13

• QualitaHve values

• Delays

• Concurrency

QualitaHve AbstracHons

Variables increase or decrease

Tokens are not limited resources

Delays are qualitaEve

Tokens can be delayed

t1

t2

t4

t3

+ -

+ +Public

Transport

Traffic Volume

Traveling Times

Page 14: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

QualitaHve values and non-determinisHc delays Variables increase or decrease

Causal Loop Nets

!14

Tokens = { ↑e , ↓e , _}

Tokens Delay

QualitaHve AbstracHons

No change or no informaEon

e ∈ 𝒩0

t1

t2

t4

t3

+ d -

+ +Public

Transport

Traffic Volume

Traveling Times

Markings

M : P → 2Tokens

Sets of Tokens

Page 15: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

True concurrency and AMAN strategy • All enabled transiEons must fire

• As many tokens as needed

Causal Loop Nets

!15

Enabled TransiHonsAll transiEons with in their incoming places

QualitaHve AbstracHons

{ ↑0 , ↓0 }

t1

t2

t4

t3

+ -

+ +Public

Transport

Traffic Volume

Traveling Times

Page 16: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

t1

t2

t4

t3

+ -

+ +Public

Transport

Traffic Volume

Traveling Times

Causal Loop Nets

!16

(1,0,0)

(0,1,0)

(1,0,1)

(0,{1,-1},0)

(?)

M0

Marking Graph (SemanEcs)

Concurrency

t1

t2|t3

t1|t4

t2|t3

Page 17: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

t1

t2

t4

t3

+ -

+ +Public

Transport

Traffic Volume

Traveling Times

Causal Loop Nets

!17

(1,0,0)

(0,1,0)

(1,0,1)

(0,{1,-1},0)

(?)

M0

Marking Graph (SemanEcs)

Concurrency

t1

t2|t3

t1|t4

t2|t3

Page 18: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

t1

t2

t4

t3

+ -

+ +Public

Transport

Traffic Volume

Traveling Times

Causal Loop Nets

!18

(1,0,0)

(0,1,0)

(1,0,1)

(0,{1,-1},0)

(?)

M0

Marking Graph (SemanEcs)

↑ ↑

Concurrency

t1

t2|t3

t1|t4

t2|t3

Page 19: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

t1

t2

t4

t3

+ -

+ +Public

Transport

Traffic Volume

Traveling Times

Causal Loop Nets

!19

(1,0,0)

(0,1,0)

(1,0,1)

(0,{1,-1},0)

(?)

M0

Marking Graph (SemanEcs)

↑↑

Concurrency

t1

t2|t3

t1|t4

t2|t3

Page 20: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

t1

t2

t4

t3

+ -

+ +Public

Transport

Traffic Volume

Traveling Times

Causal Loop Nets

!20

(1,0,0)

(0,1,0)

(1,0,1)

M0

Marking Graph (SemanEcs)

↑↑ Normalize Marking Graph

Concurrency

(0,{1,-1},0)

(?)

t1

t2|t3

t1|t4

t2|t3

Page 21: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

t1

t2

t4

t3

+ -

+ +Public

Transport

Traffic Volume

Traveling Times

Causal Loop Nets

!21

(1,0,0)

(0,1,0)

(1,0,1)

(0,-1,0)

M0

Marking Graph (SemanEcs)

↑↑ Normalize Marking Graph

Concurrency

t1

t2|t3

t1|t4

t1|t4

Page 22: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

t1

t2

t4

t3

+ -

+ +Public

Transport

Traffic Volume

Traveling Times

Causal Loop Nets

!22

(1,0,0)

(0,1,0)

(1,0,1)

(0,-1,0)

M0

Marking Graph (SemanEcs)

↑↑ Normalize Marking Graph

(-1,0,-1)

(0,{1,-1},0)…

Concurrency

t1

t2|t3

t1|t4

t1|t4

t2|t3

t1|t4

Page 23: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

t1

t2

t4

t3

+ -

+ +Public

Transport

Traffic Volume

Traveling Times

Causal Loop Nets

!23

(1,0,0)

(0,1,0)

(1,0,1)

(0,-1,0)

M0

Marking Graph (SemanEcs)

↑↑ Normalize Marking Graph

(-1,0,-1)

Concurrency

t1

t2|t3

t1|t4

t1|t4

t2|t3t1|t4

t1|t4

Page 24: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

t1

t2

t4

t3

+ 1 -

+ +Public

Transport

Traffic Volume

Traveling Times

Causal Loop Nets

!24

(1,0,0)M0

Marking Graph (SemanEcs)

(0,11,0)

(0,1,0)

Each step is consider a Hck

Delay tokens are decreased

Different Marking Graphs for different delays

Delays

t1

Page 25: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

t1

t2

t4

t3

+ 1 -

+ +Public

Transport

Traffic Volume

Traveling Times

Causal Loop Nets

!25

(1,0,0)M0

Marking Graph (SemanEcs)

↑1

(0,11,0)

(0,1,0)

Each step is consider a Hck

Delay tokens are decreased

Different Marking Graphs for different delays

Delays

t1

Page 26: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

t1

t2

t4

t3

+ 1 -

+ +Public

Transport

Traffic Volume

Traveling Times

Causal Loop Nets

!26

(1,0,0)M0

Marking Graph (SemanEcs)

↑1

(0,11,0)

(0,1,0)

Each step is consider a Hck

Delay tokens are decreased

Different Marking Graphs for different delays

Delays

t1

τ (silent transiEon)

Page 27: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

t1

t2

t4

t3

+ 1 -

+ +Public

Transport

Traffic Volume

Traveling Times

Causal Loop Nets

!27

(1,0,0)M0

Marking Graph (SemanEcs)

(0,11,0)

(0,1,0)

Each step is consider a Hck

Delay tokens are decreased

Different Marking Graphs for different delays

Delays

t1

τ (silent transiEon)

Page 28: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

Queries on traces • Does a CLN exhibits a given behaviour?

• How X behaves when Y saEsfies some behaviour?

SimulaHon relaHons • One to one relaEon

• Abstract similar behaviour

{ ↑ , ↓ }_ ∼ { ↑ , ↓ }

Analysis of Causal Loop Nets

!28

↑ ↓ ≁ ↑ _ ↓

↑ ↓ ∼ ↑ _ ↓↑n ∼ ↑↓n ∼ ↓

φ0(i, r, v, f ) = ⋀k−1

j=0∃sj+1 . (σi(sj . . sj+1) . v ∼ f( j))

φ1(v, f ) = ∃i, r : φ0(i, r, v, f )

φ3(φ1(vm, f ), vℓ, gℓ)

(Sequence of Markings)Over a variable

Page 29: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

Queries on traces • Does a CLN exhibits a given behaviour?

• How X behaves when Y saEsfies some behaviour?

SimulaHon relaHons • One to one relaEon

• Abstract similar behaviour

Analysis of Causal Loop Nets

!29

Detailed informaEon about X Describe informaEon

{ ↑ , ↓ }_ ∼ { ↑ , ↓ }

↑n ∼ ↑↓n ∼ ↓

Page 30: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

t1

t2

t4

t3

+ -

+ +Public

Transport

Traffic Volume

Traveling Times

Analysis of Causal Loop Nets

!30

Marking Graph (SemanEcs)

(0,1,0)

(1,0,1)

(0,-1,0)

M0

(-1,0,-1)

M1

M2

M3

M4

(1,0,0)true Tr1 = M0 M1 M2 M3 M4

Tr2 = M0 M1 M2 M1 M2 M3 M4

Tr3 = M0 M1 M2 M1 M2 M3 M4 M3 M4

t1

t2|t3

t1|t4

t1|t4

t2|t3t1|t4

t1|t4

Can Traveling Times eventually Increase and then Decrease?

φ1(TravelingTimes, ( ↑ ↓ ))

Page 31: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

Analysis of Causal Loop Nets

!31

Marking Graph (SemanEcs)

(1,0,0)

(0,1,0)

(1,0,1)

(0,-1,0)

M0

(-1,0,-1)

true

M1

M2

M3

M4

Tr1 = M0 M1 M2 M3 M4

Tr2 = M0 M1 M2 M1 M2 M3 M4

Tr3 = M0 M1 M2 M1 M2 M3 M4 M3 M4

φ2(TravelingTimes, ( ↑ ↓ ), PublicTransport)

true Tr1 = _,1,0,-1,0Tr2 = _,1,0,1,0,-1,0Tr3 = _,1,0,1,0,-1,0,-1,0

t1

t2|t3

t1|t4

t1|t4

t2|t3t1|t4

t1|t4

How Public Transport behaves when Traveling Times Increases and then Decreases?

t1

t2

t4

t3

+ -

+ +Public

Transport

Traffic Volume

Traveling Times

φ1(TravelingTimes, ( ↑ ↓ ))

Can Traveling Times eventually Increase and then Decrease?

Page 32: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

Analysis of Causal Loop Nets

!32

Page 33: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

Wrapping up

!33

CLD

• Informal semanEcs

• Difficult to analyse behaviour in complex systems

• SimulaEon is not exhausEve

CLN

• Formal semanEcs

• ExhausEve analysisMarking Graph

(SemanEcs)

(1,0,0) (0,1,0) (1,0,1) (0,-1,0)M0 (-1,0,-1)

Automatic generation

TravelingTimes

PublicTransport

TrafficVolume

+

+ +

-

t1

t2

t4

t3

+ -

+ +Public

Transport

Traffic Volume

Traveling Times

Page 34: A Net-based Formal Framework for Causal Loop Diagrams · A Net-based Formal Framework for Causal Loop Diagrams Guillermina Cledou1 and Shin Nakajima2 1 HASLab INESC TEC & University

Thank you!