CN110046456A - A kind of colony intelligence building simulation model simulation run implementation method - Google Patents
A kind of colony intelligence building simulation model simulation run implementation method Download PDFInfo
- Publication number
- CN110046456A CN110046456A CN201910341459.0A CN201910341459A CN110046456A CN 110046456 A CN110046456 A CN 110046456A CN 201910341459 A CN201910341459 A CN 201910341459A CN 110046456 A CN110046456 A CN 110046456A
- Authority
- CN
- China
- Prior art keywords
- model
- simulation
- parameter
- parameters
- colony intelligence
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000004088 simulation Methods 0.000 title claims abstract description 64
- 238000000034 method Methods 0.000 title claims abstract description 21
- 230000000153 supplemental effect Effects 0.000 claims abstract description 13
- 238000005516 engineering process Methods 0.000 claims abstract description 8
- 238000003860 storage Methods 0.000 claims description 4
- 238000012423 maintenance Methods 0.000 claims description 3
- 238000012546 transfer Methods 0.000 claims description 2
- 230000008569 process Effects 0.000 description 4
- 238000001816 cooling Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 238000004378 air conditioning Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000013178 mathematical model Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000005057 refrigeration Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/13—Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
Abstract
The present invention discloses a kind of colony intelligence building simulation model simulation run implementation method, include the following steps: that (10) model emulation thread is run: starting colony intelligence building simulation model, with thread pool dynamic management technology, operate independently at each simulation model in one thread;(20) it initializes: colony intelligence building simulation parameters, state is initialized;(30) model mathematical law executes: executing the mathematical law formula inside each model of operation;(40) parameter is adjusted back: when model needs other model parameters to participate in operation, obtaining supplemental characteristic by callback interface;(50) parameter reading and writing: judging whether there is the read write command to model data, and execute corresponding operating, then goes to (30) model mathematical law and executes step.Colony intelligence of the invention builds simulation model simulation run implementation method, realizes to the operation execution of colony intelligence buildings model and data exchange.
Description
Technical field
The invention belongs to intelligent building control technology field, especially a kind of colony intelligence building simulation model simulation run is real
Existing method.
Background technique
Colony intelligence building system is based on Building Spatial Distribution, and whole building and its Mechatronic Systems are regarded as by space list
The non-stop layer net that member and giant mechanical and electrical equipment are formed by connecting.Colony intelligence building system is in network structure, each space list
Member and electromechanical equipment respectively correspond to a CPN (Computing Process Node), wherein include standard information collection, integrate and
The various information inside space unit with giant mechanical and electrical equipment itself is managed, can be expanded with standardized production, massive duplication;
One network of composition is connected between CPN according to the topological relation plug and play of space, is based between CPN interconnected
Network communication carries out parallel computation, is integrally formed a kind of acentric computing platform.Colony intelligence building system has bottom-up information
The features such as efficiently shared, self-identifying, self-organizing, self-coordinating, easy to operate, easy transformation, easy extension, efficiently solve traditional concentration
The difficulty of formula building control systems face meets the new needs of modern intelligent building.
Colony intelligence Application in Building program is run in colony intelligence building CPN, to realize the management to smart machine in building
And control, in order to make colony intelligence Application in Building program obtain reliability, stability verifying after the completion of exploitation, and then preferably change
Into colony intelligence Application in Building program is improved, providing an emulation platform operation colony intelligence Application in Building program is an important hand
Section.During simulation run, the effective object of application program is no longer building in the real world, but in emulation platform
Virtual Building equipment, architectural environment etc., these Virtual Building equipment and environment can portray description building interior various kinds of equipment and
It is true in intelligent building completely to simulate application program by emulation platform for the operating parameter and variation characteristic of physical environment
Real operating condition.
On the basis of analysing in depth typical building physics process and equipment operation mechanism, it is based on transmission function mathematical model,
Establish space unit and typical electromechanical equipment (blower, water pump, refrigeration unit, cooling tower, fan coil etc.) object emulation
Model.Each colony intelligence building simulation model represents a colony intelligence building intelligence equipment or Architecural Physics field etc., for carving
Draw the method for operation and state of all kinds of electromechanical equipments and space, such as cold, water pump, cooling tower, air-conditioning box and air
Physical parameters field such as flowing, pipe network flow and pressure, heat exchange etc., it is single to cover the related all spaces of colony intelligence building
Member, electromechanical equipment and physical environment.
Operation of the simulation model in emulation platform realize be emulation testing basis, it is all kinds of in actual colony intelligence building
Equipment is run simultaneously, and there is also numerous incidence relations for different equipment and physical field, is built in face of all kinds of different colony intelligences
Simulation model and complicated module scheduling demand are built, a kind of simulation model operation implementation method is there is no at present, supports simulation model
Operation execution and data exchange.
Problem of the existing technology is: lacking a kind of simulation model operation implementation method, support colony intelligence building emulation
Model is run parallel and data exchange, simulates true colony intelligence building distinct group intelligent building equipment and runs simultaneously and equipment and object
The data correlation for managing field, realizes the operation execution and data exchange of simulation model.
Summary of the invention
The purpose of the present invention is to provide a kind of colony intelligences to build simulation model simulation run implementation method, realizes to gunz
The operation execution and data exchange of energy buildings model.
Realize the technical solution of the object of the invention are as follows:
A kind of colony intelligence building simulation model simulation run implementation method, includes the following steps:
(10) model emulation thread is run: starting colony intelligence building simulation model makes with thread pool dynamic management technology
Each simulation model operates independently in a thread;
(20) it initializes: colony intelligence building simulation parameters, state is initialized;
(30) model mathematical law executes: executing the mathematical law formula inside each model of operation;
(40) parameter is adjusted back: when model needs other model parameters to participate in operation, obtaining parameter number by callback interface
According to;
(50) parameter reading and writing: judging whether there is the read write command to model data, and execute corresponding operating, then goes to and turns
Step is executed to (30) model mathematical law.Compared with prior art, remarkable advantage of the invention are as follows:
1, real simulation colony intelligence is built, with thread pool dynamic management technology, by independently transporting each simulation model
Row realizes the parallel operation of simulation model in different threads;By callback interface and reading and writing interface, different moulds are realized
Data interaction between type, real simulation colony intelligence constructing operation situation;
2, high-efficient, it is run by the multithreading of each simulation model, improves the speed of service of simulation process;By returning
It adjusts interface to read supplemental characteristic, is needing other simulation parameters to obtain data when participating in operation, improving data call and fortune
Calculate the efficiency executed.
Detailed description of the invention
Fig. 1 is the flow chart that colony intelligence of the present invention builds simulation model simulation run implementation method.
Fig. 2 is the flow chart that parameter adjusts back step in Fig. 1.
Fig. 3 is the flow chart of parameter reading and writing step in Fig. 1.
Specific embodiment
As shown in Figure 1, colony intelligence of the present invention builds simulation model simulation run implementation method, include the following steps:
(10) model emulation thread is run: starting colony intelligence building simulation model makes with thread pool dynamic management technology
Each simulation model operates independently in a thread;
(20) it initializes: colony intelligence building simulation parameters, state is initialized;
(30) model mathematical law executes: executing the mathematical law formula inside each model of operation;
(40) parameter is adjusted back: when model needs other model parameters to participate in operation, obtaining parameter number by callback interface
According to;
As shown in Fig. 2, (40) the parameter readjustment step includes:
(41) readjustment judgement: when model mathematical law formula executes, and other simulation models is needed to provide parameter, fortune is participated in
When calculation, continues step (42) and read callback interface;Woth no need to then go to step (44);
(42) callback interface is read;Required supplemental characteristic is received from the callback interface of simulation model;
(43) it reads and successfully judges: judging whether to receive data success from callback interface, if receiving successfully, be lost if receiving
It loses, then goes to step (42) and read again callback interface supplemental characteristic;
(44) it continues to execute: continuing to execute mathematical law formula to once-through operation and complete;
(45) supplemental characteristic that operation is completed undated parameter internal storage data: is put into memory, each ginseng of dynamic management service
Number data.
(50) parameter reading and writing: judging whether there is the read write command to model data, and execute corresponding operating, then goes to and turns
Step is executed to (30) model mathematical law.
As shown in figure 3, (50) the parameter reading and writing step includes:
(51) it reads parameter judgement: judging whether there is the reading parameter instruction to model, when there is no parameter instruction is read, turn
To step (53);
(52) Transfer Parameters are to reading interface: relevant parameter data being transferred to simulation model and read interface, for reading outside model
It takes;
(53) write parameters judge: judging whether there is and turn when there is no write parameters instruction to the write parameters instruction of model
To step (55);
(54) it receives and writes interface parameters: writing the supplemental characteristic that interface is written from simulation model;
(55) undated parameter internal storage data: the supplemental characteristic after maintenance parameters read-write, undated parameter memory keep dynamic parameter
State management service.
Colony intelligence of the present invention builds simulation model simulation run implementation method, real simulation colony intelligence building, with thread
Pond dynamic management technology, by the way that each simulation model independent operating in different threads, is realized the parallel fortune of simulation model
Row;By callback interface and reading and writing interface, the data interaction between different models, real simulation colony intelligence constructing operation are realized
Situation;It is run by the multithreading of each simulation model, improves the speed of service of simulation process;It is read and is joined by callback interface
Number data are needing other simulation parameters to obtain data when participating in operation, are improving the efficiency that data call and operation execute.
Claims (3)
1. a kind of colony intelligence builds simulation model simulation run implementation method, which comprises the steps of:
(10) model emulation thread is run: starting colony intelligence building simulation model makes each with thread pool dynamic management technology
A simulation model operates independently in a thread;
(20) it initializes: colony intelligence building simulation parameters, state is initialized;
(30) model mathematical law executes: executing the mathematical law formula inside each model of operation;
(40) parameter is adjusted back: when model needs other model parameters to participate in operation, obtaining supplemental characteristic by callback interface;
(50) parameter reading and writing: the read write command to model data is judged whether there is, and executes corresponding operating, is then gone to
(30) model mathematical law executes step.
2. implementation method according to claim 1, which is characterized in that (40) parameter adjusts back step and includes:
(41) readjustment judgement: when model mathematical law formula executes, and other simulation models is needed to provide parameter, when participating in operation,
Continue step (42) and reads callback interface;Woth no need to then go to step (44);
(42) callback interface is read;Required supplemental characteristic is received from the callback interface of simulation model;
(43) it reads and successfully judges: judging whether to receive data success from callback interface, if receiving successfully, if reception failure,
It goes to step (42) and reads again callback interface supplemental characteristic;
(44) it continues to execute: continuing to execute mathematical law formula to once-through operation and complete;
(45) supplemental characteristic that operation is completed undated parameter internal storage data: is put into memory, dynamic management service parameters number
According to.
3. implementation method according to claim 1, which is characterized in that (50) the parameter reading and writing step includes:
(51) it reads parameter judgement: judging whether there is the reading parameter instruction to model, when there is no parameter instruction is read, go to step
Suddenly (53);
(52) Transfer Parameters are to reading interface: relevant parameter data being transferred to simulation model and read interface, for reading outside model;
(53) write parameters judge: judging whether there is and go to step when there is no write parameters instruction to the write parameters instruction of model
Suddenly (55);
(54) it receives and writes interface parameters: writing the supplemental characteristic that interface is written from simulation model;
(55) undated parameter internal storage data: the supplemental characteristic after maintenance parameters read-write, undated parameter memory keep dynamic parameter state pipe
Reason maintenance.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910341459.0A CN110046456A (en) | 2019-04-26 | 2019-04-26 | A kind of colony intelligence building simulation model simulation run implementation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910341459.0A CN110046456A (en) | 2019-04-26 | 2019-04-26 | A kind of colony intelligence building simulation model simulation run implementation method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110046456A true CN110046456A (en) | 2019-07-23 |
Family
ID=67279535
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910341459.0A Pending CN110046456A (en) | 2019-04-26 | 2019-04-26 | A kind of colony intelligence building simulation model simulation run implementation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110046456A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111259555A (en) * | 2020-01-20 | 2020-06-09 | 西北工业大学 | Petroleum pipeline equidistant line generation method based on thread pool |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106850356A (en) * | 2017-02-24 | 2017-06-13 | 郑州云海信息技术有限公司 | A kind of Intelligent Building Group control method and device |
CN109324522A (en) * | 2018-09-30 | 2019-02-12 | 西安建筑科技大学 | Central air-conditioning analogue system and method based on colony intelligence construction platform proof of algorithm |
CN109343843A (en) * | 2018-08-03 | 2019-02-15 | 中国人民解放军陆军工程大学 | Graphical programming language towards colony intelligence building system |
-
2019
- 2019-04-26 CN CN201910341459.0A patent/CN110046456A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106850356A (en) * | 2017-02-24 | 2017-06-13 | 郑州云海信息技术有限公司 | A kind of Intelligent Building Group control method and device |
CN109343843A (en) * | 2018-08-03 | 2019-02-15 | 中国人民解放军陆军工程大学 | Graphical programming language towards colony intelligence building system |
CN109324522A (en) * | 2018-09-30 | 2019-02-12 | 西安建筑科技大学 | Central air-conditioning analogue system and method based on colony intelligence construction platform proof of algorithm |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111259555A (en) * | 2020-01-20 | 2020-06-09 | 西北工业大学 | Petroleum pipeline equidistant line generation method based on thread pool |
CN111259555B (en) * | 2020-01-20 | 2022-03-29 | 西北工业大学 | Petroleum pipeline equidistant line generation method based on thread pool |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Tian et al. | Building energy simulation coupled with CFD for indoor environment: A critical review and recent applications | |
CN110285532A (en) | Method for controlling machine room air conditioner, apparatus and system based on artificial intelligence | |
CN109324522A (en) | Central air-conditioning analogue system and method based on colony intelligence construction platform proof of algorithm | |
CN101630380A (en) | Job-shop scheduling method based on multi-population evolution mechanism | |
CN114279042B (en) | Central air conditioner control method based on multi-agent deep reinforcement learning | |
CN104460360A (en) | Control system simulation system and method | |
CA2903802A1 (en) | Energy management systems and methods of use | |
CN103440357A (en) | Virtual reality roaming scene generation method and system | |
CN102306223A (en) | High level architecture (HLA) technology-based ship gas turbine device integrated simulation platform and implementation method thereof | |
CN109765802A (en) | A kind of virtual DCS analogue system of large size phase modifier | |
CN111708284B (en) | Simulation test method, device, equipment and storage medium for fuel cell system | |
CN110046456A (en) | A kind of colony intelligence building simulation model simulation run implementation method | |
CN107038297A (en) | The Step-varied back propagation integration method of global energy internet operation characteristic emulation | |
CN115017817A (en) | Method, system, terminal and medium for optimizing energy efficiency of refrigeration machine room | |
Zhou et al. | An efficient deep reinforcement learning framework for uavs | |
CN105279007B (en) | The analogy method and device of multi-core processor | |
CN106200448B (en) | A kind of long-range mapped system of industry interface implementation | |
CN101453371B (en) | Simulation method and apparatus thereof for network embedded system | |
CN109801665A (en) | SRAM self-testing system, framework and method, storage medium | |
CN109670273A (en) | A kind of coach air conditioner Performance Match method | |
CN102592251A (en) | Universal modular parallel coupling system adopting earth system model | |
CN110502838A (en) | Spare parts management strategy optimization model based on emulation | |
CN111225034A (en) | WebService-based dynamic integration method and assembly of water environment safety regulation and control model | |
CN110502859A (en) | Multi tate dynamic emulation method for electrical couplings garden integrated energy system | |
CN110096786A (en) | Colony intelligence Application in Building program semi-physical real-time simulation platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190723 |