File tree 1 file changed +1
-12
lines changed
1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -141,18 +141,7 @@ def _track_rates(self):
141
141
self .child_mortrate [self .year ] = 1000 * np .sum (self .child_deaths ) / np .sum (self .annual_births )
142
142
self .pw_mortrate [self .year ] = 1000 * np .sum (self .pw_deaths ) / np .sum (self .annual_births )
143
143
144
- # def _track_economic_loss(self):
145
- # """To calculate the economic cost of children become stunting or wasting for the country.
146
- # Simply, the cost of stunting and cost of wasting have been input over the databook."""
147
- # oldest = self.children.age_groups[-1]
148
- # rate = oldest.ageingRate
149
- # self.stunting_cost[self.year] += oldest.num_stunted() * rate * self.cost_wasting
150
- # self.wasting_cost[self.year] += sum(oldest.num_wasted(cat) for cat in self.ss.wasted_list) * rate * self.cost_stunting
151
- # self.child_death_cost[self.year] = np.sum(self.child_deaths) * self.cost_child_death
152
- # self.pw_death_cost[self.year] = np.sum(self.pw_deaths) * self.cost_pw_death
153
- # self.child_anaemic_cost[self.year] = oldest.num_anaemic() * rate * self.cost_child_anaemic
154
- # self.pw_anaemic_cost[self.year] = self.pw.num_anaemic() * self.cost_pw_anaemic
155
-
144
+
156
145
def _track_economic_loss (self ):
157
146
bene_age_start = self .econ_inputs [_ ("Productivity year start" )]
158
147
bene_age_end = self .econ_inputs [_ ("Productivity year end" )]
You can’t perform that action at this time.
0 commit comments