<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def configure_sbi(self, sbi_config: dict, schema_path: str = None):
 """Add a new SBI to the database associated with this subarray. Args: sbi_config (dict):
 SBI configuration. schema_path (str, optional):
 Path to the SBI config schema. """

        if not self.active:
            raise RuntimeError("Unable to add SBIs to inactive subarray!")
        sbi_config['subarray_id'] = self._id
        sbi = SchedulingBlockInstance.from_config(sbi_config, schema_path)
        self._add_sbi_id(sbi_config['id'])
        return sbi