Disclosure of Invention
The embodiment of the invention provides a solar air conditioner, a control method of the solar air conditioner, electronic equipment and a storage medium, and solves the problem that the existing air conditioner is high in energy consumption during operation on the basis of ensuring stable operation of the air conditioner.
The embodiment of the invention provides a control method of a solar air conditioner, which comprises the following steps:
detecting whether the output electric energy of the solar panel meets the power supply requirement of the solar air conditioner;
if the output electric energy meets the power supply requirement of a direct current load and/or an alternating current load in the solar air conditioner, controlling the solar panel to be electrically connected with the direct current load and/or the alternating current load meeting the power supply requirement;
acquiring residual electric quantity in an energy storage device, and judging whether the residual electric quantity reaches preset electric quantity;
and controlling the connection states of the energy storage device, the commercial power circuit and the direct current load and the alternating current load which do not meet the power supply requirement in the solar air conditioner according to the judgment result.
According to the control method of the solar air conditioner provided by one embodiment of the invention, the specific step of detecting whether the output electric energy of the solar panel meets the power supply requirement of the solar air conditioner comprises the following steps:
acquiring the output electric energy;
acquiring an ambient temperature and a set temperature, and determining the power supply requirement of the solar air conditioner based on the ambient temperature and the set temperature;
and judging whether the output electric energy meets the power supply requirement of the solar air conditioner.
According to the control method of the solar air conditioner, provided by one embodiment of the invention, the direct current load is a direct current motor and/or a direct current circuit board, and the alternating current load is an alternating current motor and/or a compressor.
The embodiment of the invention provides a solar air conditioner, which comprises:
the solar panel is used for receiving solar energy and outputting electric energy;
the energy storage device is electrically connected with the solar panel and is used for storing the electric energy output by the solar panel;
the air conditioner body is provided with a direct current load and an alternating current load;
the control system is used for detecting whether the output electric energy of the solar panel meets the power supply requirement of the air conditioner body; if the output electric energy meets the power supply requirement of the direct current load and/or the alternating current load in the air conditioner body, controlling the solar panel to be electrically connected with the direct current load and/or the alternating current load meeting the power supply requirement; acquiring residual electric quantity in an energy storage device, and judging whether the residual electric quantity reaches preset electric quantity; and controlling the connection states of the energy storage device, the commercial power circuit and the direct current load and the alternating current load which do not meet the power supply requirement in the solar air conditioner according to the judgment result.
According to an embodiment of the present invention, there is provided a solar air conditioner, further including:
a rectifier;
the change-over switch is electrically connected with the control system and is provided with a first station, a second station and a third station;
at the first station, the energy storage device is electrically connected with a direct current load which does not meet the power supply requirement, and the commercial power circuit is electrically connected with an alternating current load which does not meet the power supply requirement;
at the second station, the energy storage device is electrically connected with a direct current load which does not meet the power supply requirement and an alternating current load which does not meet the power supply requirement;
and at the third station, one end of the commercial power circuit is electrically connected with an alternating current load which does not meet the power supply requirement, and the other end of the commercial power circuit is electrically connected with a direct current load which does not meet the power supply requirement through the rectifier.
According to an embodiment of the present invention, there is provided a solar air conditioner, further including: a first inverter;
the energy storage device is provided with a first power supply end and a second power supply end
At the first station, the first power supply end is electrically connected with a direct current load which does not meet the power supply requirement, and the commercial power circuit is electrically connected with an alternating current load which does not meet the power supply requirement;
and at the second station, the first power supply end is electrically connected with a direct current load which does not meet the power supply requirement, and the second power supply end is electrically connected with an alternating current load which does not meet the power supply requirement through the first inverter.
According to an embodiment of the present invention, there is provided a solar air conditioner, further including: a second inverter;
the solar panel is provided with a first output end and a second output end;
the first output end of the solar panel is electrically connected with a direct current load meeting the power supply requirement sequentially through the second inverter and the rectifier, and the second output end of the solar panel is electrically connected with an alternating current load meeting the power supply requirement through the second inverter.
The embodiment of the invention provides a control system of a solar air conditioner, which comprises:
the detection module is used for detecting whether the output electric energy of the solar panel meets the power supply requirement of the solar air conditioner;
the first execution module is used for controlling the solar panel to be electrically connected with a direct current load and/or an alternating current load meeting the power supply requirement when the output electric energy meets the power supply requirement of the direct current load and/or the alternating current load in the solar air conditioner;
the acquisition module is used for acquiring the residual electric quantity in the energy storage device and judging whether the residual electric quantity reaches the preset electric quantity;
and the second execution module is used for controlling the connection states of the energy storage device, the commercial power circuit and the direct current load and the alternating current load which do not meet the power supply requirement in the solar air conditioner according to the judgment result.
According to an embodiment of the invention, the electronic device comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, and the processor executes the program to realize the steps of the control method of the solar air conditioner.
According to an embodiment of the present invention, there is provided a non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor, implements the steps of the control method of the solar air conditioner.
According to the solar air conditioner and the control method thereof, the electronic equipment and the storage medium provided by the invention, the solar panel is used for supplying power to the direct current load and/or the alternating current load meeting the power supply requirement under the condition of meeting the power supply requirement of the direct current load and/or the alternating current load by detecting whether the output electric energy of the solar panel meets the power supply requirement of the solar air conditioner. Meanwhile, the residual electric quantity is compared with the preset electric quantity, and according to the judgment result, the connection states of the energy storage device, the commercial power circuit and the direct current load and the alternating current load which do not meet the power supply requirement in the solar air conditioner are controlled, so that the air conditioner can work stably as much as possible, and the energy consumption of the air conditioner is reduced.
Detailed Description
The embodiments of the present invention will be described in further detail with reference to the drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
In the description of the embodiments of the present invention, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the embodiments of the present invention, it should be noted that, unless explicitly stated or limited otherwise, the terms "connected" and "connected" are to be interpreted broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; may be directly connected or indirectly connected through an intermediate. Specific meanings of the above terms in the embodiments of the present invention can be understood in specific cases by those of ordinary skill in the art.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of an embodiment of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
The present invention provides a solar air conditioner, as shown in fig. 1, comprising: solar panel 2, energy memory 1, air conditioner body and control system.
In this embodiment, the solar panel 2 is an assembly of a plurality of solar cells, and is a core part in the solar air conditioner, and is used for receiving solar energy and outputting electric energy.
The input end of the energy storage device 1 is connected with the solar panel 2, and the energy storage device 1 is used for storing solar energy when the air conditioner does not work or the output electric energy is large. The air conditioner body can be any air conditioner, such as a wall-mounted air conditioner, a vertical cabinet air conditioner, a window air conditioner, a ceiling air conditioner and the like. The air conditioner body in this embodiment includes: the indoor unit 3 and the outdoor unit 4, and the indoor unit 3 and the outdoor unit 4 are provided with a direct current load and an alternating current load. For example, the dc load is a dc motor or a dc circuit board, or is a dc motor and a dc circuit board. Similarly, the alternating current load is an alternating current motor or a compressor, or is of two structures of the alternating current motor and the compressor.
The control system is used for detecting whether the output electric energy of the solar panel 2 meets the power supply requirement of the air conditioner body. And if the output electric energy of the solar panel 2 meets the power supply requirement of the direct current load and/or the alternating current load in the air conditioner body, controlling the solar panel 2 to be electrically connected with the direct current load and/or the alternating current load meeting the power supply requirement.
Specifically, when the control system determines that the output electric energy of the solar panel 2 meets the power supply requirement of the dc load, the control system controls the solar panel 2 to be electrically connected with the dc load meeting the power supply requirement. When the control system judges that the output electric energy of the solar panel 2 meets the power supply requirement of the alternating current load, the control system controls the solar panel 2 to be electrically connected with the alternating current load meeting the power supply requirement. When the control system judges that the output electric energy of the solar panel 2 simultaneously meets the power supply requirements of the direct current load and the alternating current load, the control system controls the solar panel 2 to be simultaneously electrically connected with the direct current load and the alternating current load meeting the power supply requirements. When solar panel 2 can satisfy the part power supply requirement in the solar air conditioner promptly, can directly utilize solar panel 2 to supply power to corresponding part. The energy consumption of the corresponding components can thereby be reduced.
The components meeting the power supply requirements of the solar panel 2 are supplied with power by the solar panel 2. If the remaining components which do not meet the power supply requirement need to be controlled by the control system to obtain the residual electric quantity in the energy storage device, and whether the residual electric quantity reaches the preset electric quantity is judged; and controlling the connection states of the energy storage device 1 and the commercial power circuit 6 and the direct current load and the alternating current load which do not meet the power supply requirement in the solar air conditioner according to the judgment result. And when the residual electric quantity is judged and known to exceed the preset electric quantity, controlling the energy storage device to be electrically connected with the direct current load which does not meet the power supply requirement, and controlling the commercial power circuit to be electrically connected with the alternating current load which does not meet the power supply requirement.
In the process that the acquisition control system acquires the residual electric quantity in the energy storage device, the power supply information of the commercial power can be acquired, and whether the power supply information of the commercial power meets the preset power supply working condition or not is judged. And under the conditions that the residual electric quantity of the energy storage device 1 exceeds the preset electric quantity and the power supply information of the commercial power meets the preset power supply working condition, controlling the energy storage device 1 to be electrically connected with the direct current load which does not meet the power supply requirement, and controlling the commercial power circuit 6 to be electrically connected with the alternating current load which does not meet the power supply requirement.
Meanwhile, the control system controls the energy storage device 1 to be electrically connected with a direct current load and an alternating current load which do not meet the power supply requirement under the condition that the residual electric quantity of the energy storage device 1 exceeds the preset electric quantity and the power supply information does not meet the preset power supply working condition through judgment, and the energy storage device 1 can be completely utilized to supply power to the components which do not meet the power supply requirement.
If the residual electric quantity is judged and known not to exceed the preset electric quantity, the energy storage device 1 cannot meet the power supply requirement, and at the moment, the commercial power circuit 6 is controlled to be electrically connected with the direct current load and the alternating current load which do not meet the power supply requirement, so that the commercial power is completely utilized to supply power to the components which do not meet the power supply requirement.
According to the solar air conditioner provided by the invention, whether the output electric energy of the solar panel meets the power supply requirement of the solar air conditioner is detected, and under the condition that the power supply requirement of a direct current load and/or an alternating current load is met, the solar panel is utilized to supply power to the direct current load and/or the alternating current load meeting the power supply requirement. Meanwhile, the residual electric quantity is compared with the preset electric quantity, and according to the judgment result, the connection states of the energy storage device, the commercial power circuit and the direct current load and the alternating current load which do not meet the power supply requirement in the solar air conditioner are controlled, so that the air conditioner can work stably as much as possible, and the energy consumption of the air conditioner is reduced.
In order to switch the power supply mode, a rectifier and a change-over switch 7 can be additionally arranged. A rectifier is a device that converts alternating current to direct current. The change-over switch 7 is electrically connected with the control system, and the change-over switch 7 is provided with a first station, a second station and a third station.
When the change-over switch 7 is at the first station, the energy storage device 1 is electrically connected with the direct current load which does not meet the power supply requirement, and the commercial power circuit 6 is electrically connected with the alternating current load which does not meet the power supply requirement, so that the power consumption of the direct current load can be reduced. Meanwhile, the alternating current load which does not meet the power supply requirement is directly supplied by the commercial power, so that the situation that the fluctuation of the solar energy supply voltage to the part is influenced on the work of the air conditioner can be effectively avoided.
When the change-over switch 7 is at the second station, the energy storage device 1 is simultaneously electrically connected with the direct current load which does not meet the power supply requirement and the alternating current load which does not meet the power supply requirement, and the energy storage device 1 can be completely utilized to supply power to the components which do not meet the power supply requirement.
When the change-over switch 7 is in the third station, one end of the commercial power circuit 6 is electrically connected with the alternating current load which does not meet the power supply requirement, and the other end of the commercial power circuit 6 is electrically connected with the direct current load which does not meet the power supply requirement through the rectifier, so that the commercial power can be completely utilized to supply power to the components which do not meet the power supply requirement.
Wherein, the air conditioner still includes: a first inverter 5. The inverter can convert the direct current electric energy (batteries and storage batteries) into constant-frequency constant-voltage or frequency-modulation voltage-regulation alternating current. The energy storage device 1 is provided with a first supply terminal and a second supply terminal. When the change-over switch 7 is in the first station, the first power supply end of the energy storage device 1 is electrically connected with the direct current load which does not meet the power supply requirement, and the commercial power circuit 6 is electrically connected with the alternating current load which does not meet the power supply requirement. When the change-over switch 7 is located at the second station, the first power supply end is electrically connected with the direct current load which does not meet the power supply requirement, the second power supply end of the energy storage device 1 is electrically connected with the alternating current load which does not meet the power supply requirement through the first inverter 5, and the energy storage device 1 can be completely utilized to supply power to the components which do not meet the power supply requirement through the arrangement of the first inverter 5.
In addition, the air conditioner further includes: and a second inverter 8. Correspondingly, solar panel 2 is equipped with first output and second output. The first output end of the solar panel 2 is electrically connected with a direct current load meeting the power supply requirement sequentially through the second inverter 8 and the rectifier, the second output end of the solar panel 2 is electrically connected with an alternating current load meeting the power supply requirement through the second inverter 8, and the solar panel 2 can supply power for the direct current load and the alternating current load meeting the power supply requirement by arranging the second inverter 8.
The invention provides a control method of a solar air conditioner, which is shown in figures 1 and 2. The control method can be used for controlling the solar air conditioner.
As shown in fig. 1, the control method of the solar air conditioner according to the embodiment of the present invention includes the following steps: S110-S140.
Step S110: whether the output electric energy of the solar panel meets the power supply requirement of the solar air conditioner is detected.
Before the solar air conditioner is powered on and started, the control system of the solar air conditioner controls the sensor to acquire the output electric energy of the solar panel 2 and acquires the power supply requirement of the solar air conditioner, wherein the power supply requirement comprises the following steps: and the power supply requirements of each direct current load and each alternating current load in the solar air conditioner.
Step S120: and if the output electric energy meets the power supply requirement of the direct current load and/or the alternating current load in the solar air conditioner, controlling the solar panel to be electrically connected with the direct current load and/or the alternating current load meeting the power supply requirement.
When the control system judges that the output electric energy of the solar panel 2 meets the power supply requirement of the direct current load, the control system controls the solar panel 2 to be electrically connected with the direct current load meeting the power supply requirement.
When the control system judges that the output electric energy of the solar panel 2 meets the power supply requirement of the alternating current load, the control system controls the solar panel 2 to be electrically connected with the alternating current load meeting the power supply requirement.
When the control system judges that the output electric energy of the solar panel 2 simultaneously meets the power supply requirements of the direct current load and the alternating current load, the control system controls the solar panel 2 to be simultaneously electrically connected with the direct current load and the alternating current load meeting the power supply requirements. When solar panel 2 can satisfy the part power supply requirement in the solar air conditioner promptly, can directly utilize solar panel 2 to supply corresponding part, reducible corresponding part's energy consumption from this.
Step S130: and acquiring the residual electric quantity in the energy storage device, and judging whether the residual electric quantity reaches the preset electric quantity.
After the partial equipment meeting the power supply requirement in the solar air conditioner is powered on, the control system of the solar air conditioner controls the sensor to acquire the residual electric quantity in the energy storage device 1. After the sensor acquires the residual electric quantity of the energy storage device 1, the control system reads the information of the residual electric quantity.
After acquiring the remaining power and the power supply information, the control system determines whether the remaining power reaches a preset power, for example, whether the remaining power reaches 80% of the total power, and if the remaining power reaches 80%, it indicates that the remaining power reaches the preset power. If not, the residual capacity does not reach the preset capacity.
The preset electric quantity is set according to the user requirement, for example, the energy storage device 1 set by the user needs to ensure that when the air conditioner operates for two hours, the residual electric quantity at least meets the requirement that Δ E is 80% × E is p × h. Wherein, Δ E is the residual electric quantity, E is the total electric quantity, p is the power of the solar air conditioner, and h is the time.
Meanwhile, the control system can also control another sensor to acquire the power supply information of the commercial power. The power supply information includes at least: current, power, and voltage. And judging whether the power supply information meets the preset power supply working condition. The control system can determine whether the power supply is normal or not according to the power supply information, for example, when the mains supply is powered off or serious voltage fluctuation occurs, the control system judges that the power supply information does not meet the preset power supply working condition.
Step S140: and controlling the connection state of the energy storage device and the commercial power circuit with the direct current load and the alternating current load which do not meet the power supply requirement in the solar air conditioner according to the judgment result.
The control system of the solar air conditioner judges that the acquired residual electric quantity exceeds the preset electric quantity, and when the power supply information meets the preset power supply working condition, for example, the residual electric quantity exceeds 80% of the total electric quantity, and the mains voltage meets the rated voltage and is stable, the control system controls the change-over switch 7 to be positioned at the first station, the energy storage device 1 is electrically connected with a direct current load which does not meet the previous power supply requirement in the solar air conditioner, and the mains circuit 6 is electrically connected with an alternating current load which does not meet the previous power supply requirement.
The solar panels 2 only supply power for a part of the loads that meet the power supply requirements. The energy storage device 1 only supplies power for the direct current load which does not meet the power supply requirement, so that the power consumption of the direct current motor and/or the direct current circuit board can be reduced, and the load can not cause great influence on the work of the air conditioner when the voltage or the current fluctuates. Whereas the alternating current of the mains circuit 6 only supplies alternating current loads which do not meet the supply requirements. For example, the commercial power circuit 6 can supply power to the alternating current motor and/or the compressor, and since the alternating current load is directly supplied by the commercial power, the influence of the fluctuation of the solar energy supply voltage on the work of the air conditioner can be effectively avoided.
If the control system of the solar air conditioner judges that the obtained residual electric quantity exceeds the preset electric quantity and the power supply information does not meet the preset power supply working condition, the energy storage device 1 is controlled to be simultaneously and electrically connected with the direct current load and the alternating current load.
For example, when power failure or voltage instability occurs, the control system controls the change-over switch 7 to be located at the second station, the energy storage device 1 is provided with the first power supply end and the second power supply end by arranging the first inverter 5, the first power supply end of the energy storage device 1 is electrically connected with a direct current load which does not meet the power supply requirement, the second power supply end of the energy storage device 1 is electrically connected with an alternating current load which does not meet the power supply requirement through the first inverter 5, and the energy storage device 1 can be completely used for supplying power to a partial structure which does not meet the power supply requirement of the solar panel 2 in the solar air conditioner.
And if the residual electric quantity is judged and known not to exceed the preset electric quantity, the commercial power circuit 6 is controlled to be electrically connected with the direct current load and the alternating current load which do not meet the power supply requirement.
For example, when the electric quantity of the energy storage device 1 is insufficient and does not reach 80%, the control system controls the change-over switch 7 to be located at the third station, and then controls one end of the commercial power circuit 6 to be electrically connected with the alternating current load which does not meet the power supply requirement, and the other end of the commercial power circuit is electrically connected with the direct current load which does not meet the power supply requirement through the rectifier, so that the commercial power can be completely utilized to supply power to the partial structure which does not meet the power supply requirement of the solar panel 2 in the solar air conditioner.
According to the control method of the solar air conditioner, whether the output electric energy of the solar panel meets the power supply requirement of the solar air conditioner is detected, and the solar panel is used for supplying power to the direct current load and/or the alternating current load meeting the power supply requirement under the condition that the power supply requirement of the direct current load and/or the alternating current load is met. Meanwhile, the residual electric quantity is compared with the preset electric quantity, and according to the judgment result, the connection states of the energy storage device, the commercial power circuit and the direct current load and the alternating current load which do not meet the power supply requirement in the solar air conditioner are controlled, so that the air conditioner can work stably as much as possible, and the energy consumption of the air conditioner is reduced.
In another embodiment provided by the present invention, as shown in fig. 1 and fig. 2, step S110: whether the output electric energy of the solar panel meets the power supply requirement of the solar air conditioner is detected, and the specific steps comprise:
step S1101: and acquiring output electric energy.
In the judgment process, the output electric energy of the solar panel 2 is firstly obtained.
Wherein, PpvThe unit of output electric energy of the photovoltaic cell panel during working is kW; pSTCThe rated output power of the photovoltaic cell panel under the standard rated condition is kW; gcThe solar radiation when the photovoltaic panel works has a unit of kW/m 2; gamma-power temperature coefficient, wherein the power temperature coefficient of the crystalline silicon photovoltaic cell panel is between-0.40/DEG C and-0.45/DEG C; gSTC-an illumination intensity at standard nominal conditions of 1kW/m 2; t isSTC-ambient temperature at standard nominal conditions, which value is 25 ℃; t iscThe plate temperature of the photovoltaic cell plate during operation is in degrees centigrade.
Step S1102: and acquiring the ambient temperature and the set temperature, and determining the power supply requirement of the solar air conditioner based on the ambient temperature and the set temperature.
After the output electric energy is obtained, the control system controls the obtained environment temperature and the set temperature input by the user. And acquiring the corresponding power supply requirements when each component in the solar air conditioner operates under the conditions of the current environment temperature and the set temperature.
Step S1103: and judging whether the output electric energy meets the power supply requirement of the solar air conditioner.
And finally, judging whether the power supply requirements of the components in the solar air conditioner can be met under the output electric energy of the current solar panel 2. When the requirements are met, the solar panel 2 can be directly used for supplying corresponding parts subsequently, so that the energy consumption of the corresponding parts can be reduced.
The control system of the solar air conditioner provided by the embodiment of the invention is described below, and the control system of the solar air conditioner described below and the control method described above can be referred to correspondingly.
As shown in fig. 3, the control system of the solar air conditioner includes: a detection module 310, a first execution module 320, an acquisition module 330, and a second execution module 340.
The detection module 310 is configured to detect whether the output power of the solar panel meets the power supply requirement of the solar air conditioner; the first execution module 320 is used for controlling the solar panel to be electrically connected with the direct current load and/or the alternating current load meeting the power supply requirement when the output electric energy meets the power supply requirement of the direct current load and/or the alternating current load in the solar air conditioner; the obtaining module 330 is configured to obtain a remaining power amount in the energy storage device, and determine whether the remaining power amount reaches a preset power amount; the second executing module 340 is configured to control a connection state between the energy storage device and the commercial power circuit and a dc load and an ac load that do not meet the power supply requirement in the solar air conditioner according to the determination result.
Fig. 4 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 4: a processor (processor)410, a communication Interface 420, a memory (memory)430 and a communication bus 440, wherein the processor 410, the communication Interface 420 and the memory 430 are communicated with each other via the communication bus 440. The processor 410 may call logic instructions in the memory 430 to perform a control method of the solar air conditioner, the control method including: detecting whether the output electric energy of the solar panel meets the power supply requirement of the solar air conditioner; if the output electric energy meets the power supply requirement of a direct current load and/or an alternating current load in the solar air conditioner, controlling the solar panel to be electrically connected with the direct current load and/or the alternating current load meeting the power supply requirement; acquiring residual electric quantity in an energy storage device, and judging whether the residual electric quantity reaches preset electric quantity; and if the residual electric quantity is judged and obtained to exceed the preset electric quantity, controlling the energy storage device to be electrically connected with the direct current load which does not meet the power supply requirement, and controlling the commercial power circuit to be electrically connected with the alternating current load which does not meet the power supply requirement.
It should be noted that, when being implemented specifically, the electronic device in this embodiment may be a server, a PC, or other devices, as long as the structure includes the processor 410, the communication interface 420, the memory 430, and the communication bus 440 shown in fig. 4, where the processor 410, the communication interface 420, and the memory 430 complete mutual communication through the communication bus 440, and the processor 410 may call the logic instruction in the memory 430 to execute the above method. The embodiment does not limit the specific implementation form of the electronic device.
In addition, the logic instructions in the memory 430 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Further, an embodiment of the present invention discloses a computer program product, the computer program product includes a computer program stored on a non-transitory computer readable storage medium, the computer program includes program instructions, when the program instructions are executed by a computer, the computer can execute the control method of the solar air conditioner provided by the above method embodiments, the control method includes: detecting whether the output electric energy of the solar panel meets the power supply requirement of the solar air conditioner; if the output electric energy meets the power supply requirement of a direct current load and/or an alternating current load in the solar air conditioner, controlling the solar panel to be electrically connected with the direct current load and/or the alternating current load meeting the power supply requirement; acquiring residual electric quantity in an energy storage device, and judging whether the residual electric quantity reaches preset electric quantity; and if the residual electric quantity is judged and obtained to exceed the preset electric quantity, controlling the energy storage device to be electrically connected with the direct current load which does not meet the power supply requirement, and controlling the commercial power circuit to be electrically connected with the alternating current load which does not meet the power supply requirement.
In another aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented by a processor to execute a control method of a solar air conditioner provided in the foregoing embodiments, where the control method includes: detecting whether the output electric energy of the solar panel meets the power supply requirement of the solar air conditioner; if the output electric energy meets the power supply requirement of a direct current load and/or an alternating current load in the solar air conditioner, controlling the solar panel to be electrically connected with the direct current load and/or the alternating current load meeting the power supply requirement; acquiring residual electric quantity in an energy storage device, and judging whether the residual electric quantity reaches preset electric quantity; and if the residual electric quantity is judged and obtained to exceed the preset electric quantity, controlling the energy storage device to be electrically connected with the direct current load which does not meet the power supply requirement, and controlling the commercial power circuit to be electrically connected with the alternating current load which does not meet the power supply requirement.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
The above embodiments are merely illustrative of the present invention and are not to be construed as limiting the invention. Although the present invention has been described in detail with reference to the embodiments, it should be understood by those skilled in the art that various combinations, modifications or equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention, and the technical solution of the present invention is covered by the claims of the present invention.