A control apparatus for controlling a plurality of secondary batteries (1004,8004,8008,8016,8022,8028) each causing an exothermic reaction at a time of discharging the respective secondary battery whereby an emission power is emitted and causing an endothermic reaction at a time of charging the respective secondary battery whereby an absorbed power is absorbed, comprising: a charging/discharging current measuring part for measuring a charging/discharging current of each of the plurality of secondary batteries (1004,8004,8008,8016,8022,8028); a temperature sensor for measuring a temperature of each of the plurality of secondary batteries (1004,8004,8008,8016,8022,8028); a depth-of-discharge calculator for calculating a depth-of-discharge of each of the plurality of secondary batteries (1004,8004,8008,8016,8022,8028) based on a measured value of the charging/discharging current measured by said charging/discharging current measuring part; an emission power allocating part for allocating emission power not more than a first upper limit to each of the plurality of secondary batteries (1004,8004,8008,8016,8022,8028); an upper limit calculator for calculating a second upper limit of the emission power with which the temperature is maintained at an upper limit temperature or less based on the measured value of the temperature measured by said temperature sensor and a calculated value of the depth-of-discharge calculated by said depth-of-discharge calculator in each of the plurality of secondary batteries (1004,8004,8008,80 16,8022,8028); a command value output part for outputting a command value of emission/absorbed power; and a bidirectional converter for controlling charging/discharging in each of the plurality of secondary batteries (1004,8004,8008,8016,8022,8028) so that the absorbed/emission power becomes the command value output by said command value output part, characterized in that said emission power allocating part separates each of the plurality of secondary battery into a preferential virtual battery to which a non-excess of the emission power that does not exceed the second upper limit calculated by said upper limit calculator is allocated and a non-preferential virtual battery to which an excess of the emission power that exceeds the second upper limit calculated by said upper limit calculator is allocated, allocates the emission power to all the plurality of preferential virtual batteries and then allocates the emission power to each of the non-preferential virtual batteries, and said command value output part outputs a total of the emission power allocated to each of the preferential virtual batteries by said emission power allocating part and the emission power allocated to each of the non-preferential virtual batteries by said emission power allocating part as the command value. a charging/discharging current measuring part for measuring a charging/discharging current of each of the plurality of secondary batteries (1004,8004,8008,8016,8022,8028); a temperature sensor for measuring a temperature of each of the plurality of secondary batteries (1004,8004,8008,8016,8022,8028); a depth-of-discharge calculator for calculating a depth-of-discharge of each of the plurality of secondary batteries (1004,8004,8008,8016,8022,8028) based on a measured value of the charging/discharging current measured by said charging/discharging current measuring part; an emission power allocating part for allocating emission power not more than a first upper limit to each of the plurality of secondary batteries (1004,8004,8008,8016,8022,8028); an upper limit calculator for calculating a second upper limit of the emission power with which the temperature is maintained at an upper limit temperature or less based on the measured value of the temperature measured by said temperature sensor and a calculated value of the depth-of-discharge calculated by said depth-of-discharge calculator in each of the plurality of secondary batteries (1004,8004,8008,80 16,8022,8028); a command value output part for outputting a command value of emission/absorbed power; and a bidirectional converter for controlling charging/discharging in each of the plurality of secondary batteries (1004,8004,8008,8016,8022,8028) so that the absorbed/emission power becomes the command value output by said command value output part, characterized in that said emission power allocating part separates each of the plurality of secondary battery into a preferential virtual battery to which a non-excess of the emission power that does not exceed the second upper limit calculated by said upper limit calculator is allocated and a non-preferential virtual battery to which an excess of the emission power that exceeds the second upper limit calculated by said upper limit calculator is allocated, allocates the emission power to all the plurality of preferential virtual batteries and then allocates the emission power to each of the non-preferential virtual batteries, and said command value output part outputs a total of the emission power allocated to each of the preferential virtual batteries by said emission power allocating part and the emission power allocated to each of the non-preferential virtual batteries by said emission power allocating part as the command value.