Nonrenewable Resource sector. Can be run independantly from other sectors with exogenous inputs. The initial code is defined p.405. Examples -------- Running the nonerenewable resource sector alone requires artificial (exogenous) inputs which should be provided by the other
| 44 | |
| 45 | |
| 46 | class Resource: |
| 47 | """ |
| 48 | Nonrenewable Resource sector. Can be run independantly from other sectors |
| 49 | with exogenous inputs. The initial code is defined p.405. |
| 50 | Examples |
| 51 | -------- |
| 52 | Running the nonerenewable resource sector alone requires artificial |
| 53 | (exogenous) inputs which should be provided by the other sectors. Start |
| 54 | from the following example: |
| 55 | >>> rsc = Resource() |
| 56 | >>> rsc.set_resource_table_functions() |
| 57 | >>> rsc.init_resource_variables() |
| 58 | >>> rsc.init_resource_constants() |
| 59 | >>> rsc.set_resource_delay_functions() |
| 60 | >>> rsc.init_exogenous_inputs() |
| 61 | >>> rsc.run_resource() |
| 62 | Parameters |
| 63 | ---------- |
| 64 | year_min : float, optional |
| 65 | start year of the simulation [year]. The default is 1900. |
| 66 | year_max : float, optional |
| 67 | end year of the simulation [year]. The default is 2100. |
| 68 | dt : float, optional |
| 69 | time step of the simulation [year]. The default is 1. |
| 70 | pyear : float, optional |
| 71 | implementation date of new policies [year]. The default is 1975. |
| 72 | pyear_res_tech : float, optional |
| 73 | implementation date of resource policies [year]. The default is 4000. |
| 74 | pyear_fcaor : floar, optional |
| 75 | implementation date of fcaor policies [year]. The default is 4000. |
| 76 | verbose : bool, optional |
| 77 | print information for debugging. The default is False. |
| 78 | Attributes |
| 79 | ---------- |
| 80 | nri : float, optional |
| 81 | nonrenewable resources initial [resource units]. The default is 1e12. |
| 82 | nruf1 : float, optional |
| 83 | nruf value before time=pyear []. The default is 1. |
| 84 | nruf2 : numpy.ndarray |
| 85 | nruf value after time=pyear [] |
| 86 | nr : numpy.ndarray |
| 87 | nonrenewable resources [resource units]. It is a state variable. |
| 88 | nrfr : numpy.ndarray |
| 89 | nonrenewable resource fraction remaining []. |
| 90 | nruf : numpy.ndarray |
| 91 | nonrenewable resource usage factor []. |
| 92 | nrur : numpy.ndarray |
| 93 | nonrenewable resource usage rate [resource units/year]. |
| 94 | pcrum : numpy.ndarray |
| 95 | per capita resource usage multiplier [resource units/person-year]. |
| 96 | fcaor : numpy.ndarray |
| 97 | fraction of capital allocated to obtaining resources []. |
| 98 | fcaor1 : numpy.ndarray |
| 99 | fcaor value before time=pyear_fcaor []. |
| 100 | fcaor2 : numpy.ndarray |
| 101 | fcaor value after time=pyear_fcaor []. |
| 102 | |
| 103 | 2004 update, added res tech |
no outgoing calls