def __init__(cls, name, b, d):
    type.__init__(cls, name, b, d)
    code_name = name[:name.find('Simulation')]
    if code_name:
        simulation_time_series_registry[code_name] = cls
        mylog.debug('Registering simulation: %s as %s', code_name, cls)
def __init__(cls, name, b, d):
    type.__init__(cls, name, b, d)
    code_name = name[:name.find('Simulation')]
    if code_name:
        simulation_time_series_registry[code_name] = cls
        mylog.debug('Registering simulation: %s as %s', code_name, cls)