<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def save_riskmodel(self):
 """ Save the risk models in the datastore """

        self.datastore['risk_model'] = rm = self.riskmodel
        self.datastore['taxonomy_mapping'] = self.riskmodel.tmap
        attrs = self.datastore.getitem('risk_model').attrs
        attrs['min_iml'] = hdf5.array_of_vstr(sorted(rm.min_iml.items()))
        self.datastore.set_nbytes('risk_model')