public:i-700-abms-08-1:class_definition
This is an old revision of the document!
Industry
Variables
Capital.
Fixed Costs (kr ? $)
Revenues per unit (kr ? $)
Cost of inputs per unit (kr ? $)
Carbon released per unit (g ?)
Production capacity (Units)
Carbon owned (g ?)
Carbon used (g ?)
Buy/Sell list
Average profit
Functionality:
Nr of units sold /Not carbon (Number) — calculate? Orginal equations
o
Profit = (Revenues per unit - Cost per unit) * Nr of units sold - Fixed costs (kr ? $)
o
Cost per unit = Cost of inputs per unit + Carbon release per unit * Cost of Carbon (kr ? $)
Other equations
o
Cost of Carbon = (Cost of Carbon * Carbon units owned + Cost of bought Carbon * unit bought)/(Carbon units owned + units bought)
o
Max Units Produced with owned Carbon = owned Carbon / Carbon released per unit
o
Max Carbon usage = Carbon release per unit * Production capacity
o
Nr of units sold = min(Max Units Produced with owned Carbon , Production capacity)
Buy/Sell
o
If (Max Carbon usage > Owned carbon) Buy difference (Units)
o
If (Max Carbon usage < Owned carbon) Sell difference (Units)
o
Max bid price = Capital / units
Market
Variables:
Average price
Average pr. country
Average pr. industry
List of who can sell to who
Functionality:
Match Asks and bids
Monitor?
Use JFreeGraph - from last year's model (in SVN).
Global
Initial values are retrieved from psyclone.
/var/www/cadia.ru.is/wiki/data/attic/public/i-700-abms-08-1/class_definition.1207843154.txt.gz · Last modified: 2024/04/29 13:32 (external edit)