# Life Quality Reduction Model

## Class Name

• RLifeQualityReductionModel

## Location in Objects Pane

• Models > Model > Consequence > Social > Life Quality Reduction

## Model Description

### Model Form

$${n_h}=\sum\limits_{i}{{{\rho }_{i}}\cdot }\left( 1-{{\varsigma }_{i}} \right)$$ $${n_p}=\sum\limits_{i}{{{\rho }_{i}}\cdot }{{\varsigma }_{i}}\cdot \left( 1-{{p}_{i}} \right)\cdot {{w}_{i}}$$ $${n_w}=\sum\limits_{i}{{{\rho }_{i}}\cdot }{{\varsigma }_{i}}\cdot \left( 1-{{w}_{i}} \right)\cdot {{p}_{i}}$$ $${n_{pw}}=\sum\limits_{i}{{{\rho }_{i}}\cdot }{{\varsigma }_{i}}\cdot \left( 1-{{p}_{i}} \right)\cdot \left( 1-{{w}_{i}} \right)$$ $$C= \left( {{c}_{h}}\cdot {{n}_{h}}+{{c}_{p}}\cdot {{n}_{p}}+{{c}_{w}}\cdot {{n}_{w}}+{{c}_{pw}}\cdot {{n}_{pw}} \right) \cdot t$$ Note: Since this model is based on time, the "Cost" response, i.e. $${C}$$, cannot be used for other Sampling Analyzers, except for the Discrete Event Sampling

• No

## Properties

### Object Name

• Name of the object in Rt
• Allowable characters are upper-case and lower-case letters, numbers, and underscore (“_”).
• The name is unique and case-sensitive.

### Display Output

• Determines whether the model is allowed to print messages to the Output Pane.

### Time

• $${t}$$ = Time object

### Population List

• $${\rho_i}$$ = Number of occupants of building $${i}$$

### Repair Or Restoration Status List

• $${\varsigma_{i}}$$ = Status of Repair or Restoration of building $${i}$$ (1 if completed, 0 otherwise)

### Power Serviceability List

• $${p_i}$$ = Status of power of building $${i}$$, (1 if has power, 0 otherwise)

### Water Serviceability List

• $${w_i}$$ = Status of water of building $${i}$$, (1 if has water, 0 otherwise)

### Unit Cost Of Having No House

• $${c_{h}}$$ = The equivalent cost of one person having no house for one day

### Unit Cost Of Having House Without Power

• $${c_{p}}$$ = The equivalent cost of one person having house without only power for one day

### Unit Cost Of Having House Without Water

• $${c_{w}}$$ = The equivalent cost of one person having house without only water for one day

### Unit Cost Of Having House Without Power And Water

• $${c_{pw}}$$ = The equivalent cost of one person having house without power and water for one day

## Output

• $${n_h}$$ = Total number of people who have no house, i.e. their house is not livable
• The output is an automatically generated generic response object, which takes the object name of the model plus “PopulationWithoutHouseResponse”.
• $${n_p}$$ = Total number of people who have house without only power
• The output is an automatically generated generic response object, which takes the object name of the model plus “PopulationWithoutOnlyPowerResponse”.
• $${n_w}$$ = Total number of people who have house without only water
• The output is an automatically generated generic response object, which takes the object name of the model plus “PopulationWithoutOnlyWaterResponse”.
• $${n_{pw}}$$ = Total number of people who have house without power and water
• The output is an automatically generated generic response object, which takes the object name of the model plus “PopulationWithoutPowerAndWaterResponse”.
• $${C}$$ = Total equivalent cost of life quality reduction of people
• The output is an automatically generated generic response object, which takes the object name of the model plus “CostResponse”.

## Right-click Menu

### Remove

• Removes the object.