CN104036067B - A kind of hybrid simulation environment construction method for supporting big energy research - Google Patents

A kind of hybrid simulation environment construction method for supporting big energy research Download PDF

Info

Publication number
CN104036067B
CN104036067B CN201410194902.3A CN201410194902A CN104036067B CN 104036067 B CN104036067 B CN 104036067B CN 201410194902 A CN201410194902 A CN 201410194902A CN 104036067 B CN104036067 B CN 104036067B
Authority
CN
China
Prior art keywords
simulation
message
event
participant
service
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.)
Active
Application number
CN201410194902.3A
Other languages
Chinese (zh)
Other versions
CN104036067A (en
Inventor
薛禹胜
谢东亮
黄杰
蔡斌
罗剑波
常康
李雪明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nari Technology Co Ltd
Nanjing NARI Group Corp
Original Assignee
Nari Technology Co Ltd
Nanjing NARI Group Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Nari Technology Co Ltd, Nanjing NARI Group Corp filed Critical Nari Technology Co Ltd
Priority to CN201410194902.3A priority Critical patent/CN104036067B/en
Publication of CN104036067A publication Critical patent/CN104036067A/en
Application granted granted Critical
Publication of CN104036067B publication Critical patent/CN104036067B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of hybrid simulation environment construction method for supporting big energy research, belongs to Simulating technique in Electric Power System field.The present invention has unified the interactive environment and modeling method of participant, intelligent agent and math block based on simulated interrupt method in the Simulation drive mechanism of event, service-oriented module interaction mechanism, process.The simulation component allowed to adopt Hybrid agent, other mathematical algorithms, incarnation object using the simulated environment that the inventive method builds, can realize that decision-making power has ready conditions transfer between trustship intelligent agent and participant with coordinating efficiency and precision, realize that simulated environment developer concentrates modeling, the control of having ready conditions of the fully controllable and intelligent agent to intelligent agent, participant's OPPORTUNITY ON DECISION-MAKING and decision information ornamental, participant to itself OPPORTUNITY ON DECISION-MAKING and obtained information.Present invention occupancy resource is few, big, manipulation is flexible to allow simulation scale.

Description

A kind of hybrid simulation environment construction method for supporting big energy research
Technical field
The invention belongs to Simulating technique in Electric Power System field, more precisely the present invention relates to a kind of support big energy research Hybrid simulation environment construction method.
Background technology
Complication system emulation is directed not only to a large amount of mathematical modeies, includes market in the complication system with intellectual activity as core In terms of economy, social management emulation, there is appreciable impact to simulation result in type and large number of participant's subjective decision.Mesh Front still lack the subjective behavior to people and carry out extensively effectively Mathematical Modeling Methods, for generate artificial intelligence bionics, with Machine inquiry learning algorithm can only be in the thinking activitiess of extremely limited decision domain middle mold personification class.Experimental economics pass through group It is woven with the controllable of people's participation to repeat to test, investigates behavior expression of the true people under set economics scene, and using system Meter means filter impact of participant's individual variation to experimental result.The method obtains extensively should in economics research field With.However, relying on classroom experiment form experimental economics conventional method, being limited by limited human brain memory and logical derivation energy more Power, it is difficult to investigate system complicated enough.Experimental situation should will can be constituted with the link that mathematical model is expressed, by each participant Game strategies as analogue system input information.
Primary energy, natural environment (including climate change, natural disaster, exhaust emission etc.), electric power physics-economic system And the great energy system ingredient such as all types of participants exists and influences each other, conventional model emulation technology is difficult to consider participant Behavior, it is impossible to provide complete technical support for great energy system emulation.Need the experimental economics by people's participation is fully relied on With fully rely on the emulation technology (the latter is referred to as computational economics in Science of Economics) of mathematical model in methodology aspect phase Mutually combine, all fundamentals of the real world systems including acting on complex interaction, by dynamic simulation trace information Extract and realize more fully quantitative analyses, optimize the control to these systems.
Great energy system emulation field still lacks the complete set technology and method of maturation at present, near field such as electricity market Emulation field, Multi -Agent (agent) system approach and experimental economics are applied, but both rare communications, Also lack and combine both hybrid simulation methods.
Content of the invention
The purpose of the present invention is:In order to overcome the deficiencies in the prior art, the blank that great energy system emulates field is filled up, On the premise of ensureing to accurately reflect participant's prediction desire, the efficiency of the experimental economics emulation that someone participates in is improved, there is provided one Plant the hybrid simulation environment construction method for supporting big energy research.The support that the method is emulated in great energy system experimental economics In layer, by the stationary problem of effectively solving synchronization message, the interactive environment of unified participant, intelligent agent and math block and Modeling method, realizes decision-making power conditional transfer between trustship intelligent agent and participant by customizable prompting function, With coordinating efficiency and precision, the fully controllable and intelligence to intelligent agent, participant's OPPORTUNITY ON DECISION-MAKING and decision information ornamental is realized Can agency, have ready conditions control of the participant to itself OPPORTUNITY ON DECISION-MAKING and obtained information.The method can reduce emulating such complexity The resource taken needed for adaptive system, under the certain calculating of raising and storage capacity, intelligence is individual (including intelligent agent and participation Person) receiving quantity, improve exploitation, the manipulation motility of experimentation.
Specifically, the present invention employs the following technical solutions realization, comprises the steps:
1) simulation process is built:In server processes, simulation process is promoted with event, and passes through Simulation drive device Determine the whereabouts of simulation process, simulation process include multiple while the emulation thread that executes, if in Simulation drive device Emulation end mark is set, then simulation process terminates;
If Simulation drive device detects the message of labelling synchronization process, suspend trigger event, at labelling is synchronous The message of reason or synchronization process labelling are eliminated from server message caching;When there is multiple parallel artificial threads, profit The emulation thread that need to be suspended with session tokens, stops the triggering of dependent event;
2) message processing facility is built:Object in simulation process is given out information to outside simulation process by message kernel, Message kernel retains record in server message caching automatically, and recorded content includes the unique identifier of message, synchronization process mark Note, session tokens;When needing to suspend simulation process using Simulation drive device, message should be labeled as synchronization process, and be selected The session that need to suspend is retained in acquiescence session;After the completion of synchronization process, remove associated synchronization process labelling or Synchronization message;If all synchronization process labellings or synchronization message are all eliminated in certain session being suspended, recover fortune at once The capable session;
3) direct interaction between object is realized:Divided by arranging " request does not complete labelling " in service response result Distinguish the service processing flow process immediately with non-immediate response;When process makes an immediate response service, the response results service of directly beaming back please The person of asking, when ISP or service go-between can not make an immediate response service, will ask to disappear by synchronous using recursive fashion Cease to active service supplier's direction forwarding;When active service supplier can not returning result immediately when, the behaviour to be synchronized such as be regarded as Make state, by Simulation drive device for the operation of synchronization message, make whole simulation process or session be also at waiting state;When Simultaneously operating terminates, and response results, and are received by final service requester to final host direction forwarding further through message;
4) the intelligent agent trustship of minor decision behavior is realized:Participant is allowed to can to its role in experimentation One group of prompting scope is set in the parameter sets of observation, and each prompting scope independently specifies 1 parameter and a kind of alerting pattern;When Arbitrary parameter triggers corresponding prompting action after entering the prompting scope for setting, remind participant's input decision-making;Reminding scope Outer utilization intelligent agent is input into minor decision;
5) integrated emulation modeling is carried out:Multi-player, Multi -Agent environment are concentrated based on Object-oriented Technique Simulation modeling, gives integrated environment of the experimental development person to each Object Management group, the control of the data mapping of other objects, should Data mapping determines ornamental of the outside simulated environment for each participant;Give participant's screening and using mapping number According to, order and collect the authority of valid data, to simulate the actual game environment under the conditions of imperfect information.
Above-mentioned technical proposal is further characterized by:The data structure of event includes event title and event data, energy Enough listened to by any object interested in the event, and trigger event handling of the same name, can continue to touch in event handling The event of sending out, is spliced into arbitrarily complicated sequence of events.
Above-mentioned technical proposal is further characterized by:The alerting pattern, including user interface prompting, multimedia messages Remind, simulation process or conversation are reminded or its combining form.
Above-mentioned technical proposal is further characterized by:Set up Unify legislation interface and Document Alignment experimental economics is imitative Involved by true environment, whole parameters and object data are configured.
Beneficial effects of the present invention are as follows:The present invention is based on the Simulation drive mechanism of event, service-oriented module interaction Simulated interrupt method in mechanism, process, has unified the interactive environment and modeling method of participant, intelligent agent and math block, Achieve the hybrid simulation environment that multiple intelligent agents and multiple participants coexist.The simulated environment built using the inventive method Allow, using Hybrid agent, other mathematical algorithms, the simulation component of incarnation object, decision-making power can be realized in trustship intelligence Agency and participant between have ready conditions transfer with coordinating efficiency and precision, realize simulated environment developer concentrate modeling, to intelligence The fully controllable and intelligent agent of agency, participant's OPPORTUNITY ON DECISION-MAKING and decision information ornamental, participant are to itself OPPORTUNITY ON DECISION-MAKING Control of having ready conditions with obtained information.Present invention occupancy resource is few, big, manipulation is flexible to allow simulation scale, not only alternative biography System model emulation technology, and participant's efficiency of decision-making and precision is balanced, control is implemented to information ornamental, it is right to improve The complicated exploitation of hybrid simulation and the centralized Control ability of experimental situation, it is achieved that the hybrid modeling of intelligent agent and participant, Flexible switching under unified interaction and same role.
Description of the drawings
Fig. 1 is the Simulation drive device internal process figure of the present invention.
Fig. 2 is the event splicing principle schematic of the present invention.
Fig. 3 is the action terminal synchronization principles schematic diagram of the present invention.
Fig. 4 is the service request of the present invention and responding process figure.
Fig. 5 is the underlying hardware facility schematic diagram of the structure analogue system of the present invention.
Fig. 6 be the present invention event-driven mechanism exemplary entity between relation schematic diagram.
Fig. 7 is the typical temporal emulation simplified flowchart of the present invention.
Fig. 8 be the present invention Service-Oriented Architecture Based exemplary entity between relation schematic diagram.
Schematic diagrams of the Fig. 9 for the realization quotation function of the embodiment of the present invention.
Flow charts of the Figure 10 for the realization quotation function of the embodiment of the present invention.
The flow charts of realizing power economy-physical system interaction of the Figure 11 for the embodiment of the present invention.
Specific embodiment
With reference to the accompanying drawings and with reference to example the present invention is described in further detail.
Application the inventive method need to possess corresponding software and hardware basis, and wherein hardware includes:One enters " participating in for experiment Person " crowd, every participant can access the data for allowing which to access in computer system by terminal, while by referring to Determine man-machine interface and be input into its decision-making;One Virtual Experiment Environment, is made up of 1 or multiple stage computers;One typical LAN Network environment, above computer equipment are connected with each other by the network, as shown in Figure 5.Software includes:Client computer needs to install View message can be converted to graphical human-machine interface while allowing the software runtime environment of experiment participant and interface alternation;Institute There is server that the server of the application present invention all should be installed, program thereby language and Data Structures are supported towards right As technology.
The concrete step of the multi-player and intelligent agent hybrid simulation environment that support big energy research is built according to the present invention Rapid as follows:
(1) simulation process is built.In server processes, simulation process is promoted using event, by Simulation drive device Determine the whereabouts of simulation process.Fig. 1 gives the internal process of Simulation drive device.One simulation process includes multiple while executing Emulation thread, if therein emulation end mark be set, Simulation drive device is exited from Fig. 1 flow processs, i.e. simulation process Terminate.If detecting the message (i.e. synchronization message) of labelling synchronization process, Simulation drive device suspends trigger event, until synchronization Message or synchronization process labelling are eliminated from server message caching.
The data structure of event includes event title and event data, can be monitored by any object interested in the event Arrive, and trigger event handling interface of the same name, execute one section of personal code work;What end user can open is carried out to this section of code Modification, and trigger event can be continued in code, arbitrarily complicated sequence of events is spliced into, as shown in Figure 2.Event-driven is from imitative " the root event " that true driver sends starts, and splices mechanism triggering by user-defined various events by above-mentioned event, Including driving the dialog events used by threads of conversation.
Session is used for when there is parallel artificial thread, and the thread that labelling need to suspend stops the triggering of dependent event, to keep away Exempt to impact other parallel threads., by programme-control, session includes 1 time or multiple information receiving and transmitting for the foundation of session and termination Process, when wherein involved synchronization process is completed, session begins to terminate.When session is present does not complete the synchronization message for processing, The conversation, completes until all synchronization messages relevant with the session are processed.By removing " the synchronization process mark of message Note " is notifying Simulation drive device synchronization process to complete.Whether dialog events trigger, then unfinished by whether there is in session The synchronization message of process is automatically determined, and arbitrary synchronization message does not complete process, and then dialog events will not be triggered, otherwise can then trigger. When all sessions are all interrupted, final " the root event " for promoting simulation process suspends triggering, referred to as simulated interrupt.This design makes to relate to And the parallel flow process of packet participant will not be interfered.
Step 1 is to realize the synchronization of action starting point using event-driven mechanism.Event-driven mechanism is by event scheduling The heart (scheduling one software entity in the kernel) title of broadcasting scenario or step in simulated environment, interested and be registered as this The object of action listener person can " while " uppick these " titles " (i.e. event title, while may incidental data), Corresponding actions are made to be able to start in the same time, as shown in Figure 6." while " not time consistency on wall, the virtual time of emulation (abbreviation simulation time) can as needed off and on, as long as during same event is distributed interrupt simulation time passage, As " while ".Using event-driven mechanism as the most basic mechanism of simulated environment, the synchronous universality of starting point is just can ensure that.
Event is applied not only to represent user operation or intelligent agent state change, a series of by Simulation drive device " manufacture " Event, to reflect that time step is pushed ahead and simulates things development change procedure.The typical temporal simulated program for taking out basic Flow process is as shown in Figure 7.Compared to Figure 1, the present invention is called the process of integration subroutine to be divided into intermediate layer and operation layer 2 repeatedly Part, intermediate layer in operation layer trigger event, are determined the flow process whereabouts of operation layer, additionally provide support by Fig. 1 Row controls The basic messae of experimental economics emulation processes logic.
(2) message processing facility is built.In simulation process, (general module, intelligent agent and support are straight with participant for object Connect interactive incarnation object and be referred to as object) can be given out information to outside process by message kernel, message kernel will exist automatically Message caching retains record, and record information at least includes the unique identifier of message, synchronization process labelling, session tokens etc..When When needing to suspend process using Simulation drive device, message should be labeled as synchronization process, and the session that selects to suspend or guarantor Stay in acquiescence session.After the completion of synchronization process, associated synchronization process labelling or synchronization message should be removed, when the session In all synchronization process labellings or synchronization message be all eliminated, the session being suspended is resumed operation at once, as shown in Figure 3.Process Interior simulated interrupt method can effectively reduce the occupancy to calculating and storage resource.
Step 2 is to realize the synchronization of action terminal using message transfer mechanism.Concurrent service logic should have both been allowed while opening Begin, should also allow while terminating.And the network transmission of information, man machine interface interaction, intelligent agent may include at a large amount of synchronous Reason, causes the stationary problem of action terminal.
In addition to the intelligent agent in book server process, other synchronization process are based on message, and (one kind is passed between network Defeated packet).In order to realize that the action terminal management by synchronization of universal meaning, the present invention set up message caching, message of coming and going Be required to leave duplicated record in buffer structure, every Message Record should at least include unique identifier, synchronization process labelling, Session tokens etc..The synchronization process labelling of corresponding Message Record after the completion of process to be synchronized, should be removed, is able to Simulation drive device Continue trigger event, advance simulation process.When there is synchronizing information and not being eliminated, simulation process stops pushing ahead, that is, stop Event in Fig. 1 is only triggered.
The scope of time-out needs to be controlled by.For example, for the asynchronous behavior for not changing certain subject of operation's boundary condition, The activity of object in Temporarily Closed main body border is only needed, that is, suspends the triggering event relevant with sort of activity.The present invention is by knowing The selectable trigger event of other session tokens, as shown in Figure 3.
(3) direct interaction between object is realized.Direct interaction between object is realized by service interface.By Arrange " request does not complete labelling " to differentiate service processing flow process immediately with non-immediate response in service response result.Work as process Make an immediate response service when, response results can directly beam back service requester.When ISP or host can not make an immediate response clothes During business, using recursive structure as shown in Figure 4, by request by synchronization message to active service supplier's direction forwarding;Work as reality ISP can not immediately returning result when, be regarded as wait synchronization process state (as wait user click on), by emulation drive Dynamic device makes whole process or session be also at waiting state for the operation of synchronization message;When synchronization process terminates, response results Further through message to final host direction forwarding, and received by final service requester.
Therefore, the interactive interface unification of object is double mode service interface by step 3:When service request can be dealt with immediately When, there is provided make an immediate response pattern, with the high efficiency that conventional module is called;Ask when forwarding just complete to service by message Ask, i.e., when comprising the asynchronous operation such as user's click are such as waited, switch to non-immediate response modes, service requester listen to Service processing is completed after response events.The similar local process inner module of previous pattern or function call, latter mode similar network The long-range asynchronous call of program.Two class differences are called tupe to be unified in interactive interface by the present invention, it is desirable to object-oriented All objects under technical conditions provide interface by this standard, and provide the object template with above-mentioned interface.There is provided double It is any simulation component adopted intelligent agent, other mathematical algorithms, contained participation that pattern unifies the purpose of interactive interface The arbitrary or combination in any of the incarnation object of person's interactive function is realized.The message forwarding method of recurrence ensures that service request can be along clothes Business chain is delivered to long-range final executor (module, intelligent agent or participant).When service is in makes an immediate response pattern, mould Block interaction flow does not have any change, and efficiency will not also reduce.
It can be seen that, the purpose of step 3 be using service-oriented module interaction mechanism to coordinate aforementioned 2 homochronousness measure, and The encapsulation difference details of intelligent agent, participant in handling process, finally to realize hybrid simulation environment.No matter mathematical modulo Block, intelligent agent or incarnation object, the purpose interacted with the external world are all to provide or ask a certain service;When ISP sends out During raw replacing, it is ensured that remainder is not required to make any adjustment for this.Typical entity relationship such as Fig. 8 in Service-Oriented Architecture Based Shown.The present invention need to ensure when the intelligent agent for executing a certain service is replaced by participant, the remainder of Simulation Application It is not required to change.Although the agreements such as SOAP of the application based on Internet can solve the problems, such as that across a network provides service, application Interactive efficiency in the process of same agreement between math block, intelligent agent will be substantially reduced.Therefore, of the invention by service area Wei not make an immediate response and 2 classes such as non-immediate response, the handling process using recursive technique is as shown in Figure 4.By recurrence, moreover it is possible to real Existing non-immediate response and the multilayer nest of the 2 kinds of handling processes that make an immediate response.
(4) the intelligent agent trustship of minor decision behavior is realized.Participant is allowed to its role in experimentation In observable parameter sets, one group of prompting scope is set, each prompting scope can independently specify 1 parameter and a kind of prompting side Formula, these modes include but is not limited to user interface prompting, multimedia messages prompting, emulation or conversation prompting or which combines Form.Corresponding prompting action is triggered after arbitrary parameter enters set point, participant's input decision-making is reminded.Reminding scope To the less decision-making of simulation result weighing factor (i.e. minor decision), intelligent agent interface is to participating in for outer utilization intelligent agent input Person and experimental design person open.This open design be intended to balance larger to the result weighing factor decision-making (important decision) with secondary Want the efficiency and precision of decision-making.
Step 4 is the principle that can include intelligent agent using incarnation object itself, realizes the intelligence of incarnation minor decision behavior Trustship can be acted on behalf of.Prompting vector such as can be set first, and form is that (parameter name, reminds lower limit to n groups, reminds higher limit, prompting side Formula) 4 yuan of tables (n is the integer not less than 0);N can be increased or decreased according to demand at any time.Ginseng is detected during simulation run Number not less than remind lower limit, and be not more than remind higher limit when, send promptings by set alerting pattern, wherein emulate or Conversation is reminded and is realized by step 2.Minor decision is submitted to by defining the extraneous intelligent agent of prompting.
(5) integrated emulation modeling is carried out.Multi-player, Multi -Agent environment are concentrated based on Object-oriented Technique Simulation modeling, gives integrated environment of the experimental development person to each Object Management group, the control of the data mapping of other objects, should Data mapping determines ornamental of the outside simulated environment for each participant.Give participant's screening and using mapping number According to, order and collect the authority of valid data, to simulate the actual game environment under the conditions of imperfect information.
Specifically, interface and file can be described by object organization of unity, single incarnation object corresponds to single client terminal, These script files that are mutually related can be to whole experimental economics simulated environment (including the phase in Servers-all, client Put journey into) involved by all parameters, object data are configured.The information ornamental individual to wherein agent and participant has sternly Lattice are limited, and each object includes 1 independent mapping database, only allow the developer of administration authority, manager to the storehouse The address of the outer data of mapping object.Public database that object can be set up by simulated environment or with subscription data and service The legal collection extraneous information of mode, to simulate the actual game environment under the conditions of imperfect information.
Step 5 is by setting up unitized overall development interface, and the unified standard by step 3 to module interaction mechanism, coming real Now to including multiple servers, the centralized management of the complex network running environment of client and control.The interface using object is Individuality is organized, and fills in title, incarnation labelling, data base's (by key-value to tissue), event and the registration letter for servicing in object Breath, action listener and processor information, service order and processor information etc.;Development interface can freely be cut into multiple files, It is connected by adduction relationship;Object database may include the map information (data address) of external data, can be visited by function Ask public database (total images of all object public datas), by service interface can dereference to ISP's object Partial data;Object can not directly access the data of other objects in addition to itself and public database.
Below by way of the control effect that 2 simple embodiments embody the present invention.
Example 1 is applied present invention achieves quotation function.
Quotation is a kind of typical economic behavior in electricity market, and the quotation of a power plant is not only by cost taken by themselves (such as investment, depreciation, daily O&M, fuel etc.) affects, and more needs to consider market competition factor to maximize itself profit, subjectivity Very strong.In practice, can both utilize and quoting behavior described including the mathematical model including intelligent agent model, it is also possible to adopt Quotation is embodied as Man Machine Interface by experimental economics viewpoint.
The application present invention, defines " quotation " service first and in " the completing to offer " for occurring to trigger when synchronization process is operated Event, then sets up service requester " trade center " and ISP's " power plant ", the only example of 1 power plant As shown in Figure 9.
The intelligent agent model of power plant after quoting services request is received can be computed exporting quotation result immediately. After the participant model of power plant is replaced with, the request for quote that trade center is proposed is not immediately available answer, now sends out Power plant business beams back the signal of band " request does not complete labelling " to trade center, and trade center interrupts the process of quotation result;Imitative While true process waits quotation to submit to, the synchronization message comprising quotation view is sent to connected participant's by power plant Terminal (client process), after participant's consideration view information decision-making, (is suitable to a kind of client of the present invention by Flex kernels Realize Floor layer Technology) triggering user operation case, then quotation result is beamed back service again in form of a message by message kernel Power plant in device process;At power plant, " completing to offer " event is triggered, and comprising quotation knot in event data Really, synchronization message is concurrently disinfected, and emulation is resumed operation, as shown in Figure 10.The flow process really Fig. 4 monolayer recurrence is (at non-immediate The nesting of reason) special case.Power plant can also according to wholesale electric price parameter arrange remind, when wholesale electricity price be less than setting value when by Intelligent agent trustship Decision-making of Bidding process;Otherwise participant intervenes quote process.
2 kinds of different modes shown in Fig. 4 are supported in the service of the present invention, and therefore the replacing of object type and emulation mode is to removing Object and environment beyond power plant will not constitute any impact.
Example 2 is to emulate closely related power economy-physical system interactive simulation with great energy system.Economic system is imitated Genuine main body is market transaction, and entity grid company therein need to call electric power transient simulation software to realize Security Checking function; The emulation of electric power physical system realizes that by taking electric power transient emulation business software FASTEST as an example both are real by Security Checking service The step for now interacting is as shown in figure 11:Service requester is grid company, and ISP is Security Checking device;Ask safe school After core service, the Security Checking device as service host prepares the data such as trend first, sends message call, starts FASTEST; After FASTEST completes time-domain-simulation, emulation End Event is sent, notify Security Checking device to collect simulation result;Finally trigger Service events, beam back simulation result as service response to grid company.It is also Fig. 4 monolayer recurrence (non-immediate that the flow process is actual Process nesting immediately treat) special case.
Although the present invention is disclosed as above with preferred embodiment, embodiment is not for limiting the present invention's.Not Depart from the spirit and scope of the present invention, any equivalence changes that is done or retouching also belong to the protection domain of the present invention.Cause The content that this protection scope of the present invention should be defined with claims hereof is as standard.

Claims (4)

1. a kind of hybrid simulation environment construction method for supporting big energy research, it is characterised in that comprise the following steps:
1) simulation process is built:In server processes, simulation process is promoted with event, and is determined by Simulation drive device The whereabouts of simulation process, simulation process include multiple while the emulation thread that executes, if the emulation in Simulation drive device End mark is set, then simulation process terminates;
If Simulation drive device detects the message of labelling synchronization process, suspend trigger event, until labelling synchronization process Message or synchronization process labelling are eliminated from server message caching;When there is multiple parallel artificial threads, using meeting The emulation thread that words labelling need to suspend, stops the triggering of dependent event;
2) message processing facility is built:Object in simulation process is given out information to outside simulation process by message kernel, message Kernel retains record in server message caching automatically, and recorded content includes the unique identifier of message, synchronization process labelling, meeting Words labelling;When needing to suspend simulation process using Simulation drive device, message should be labeled as synchronization process, and select to need to suspend Session or be retained in acquiescence session in;After the completion of synchronization process, remove associated synchronization process labelling or synchronously disappear Breath;If all synchronization process labellings or synchronization message are all eliminated in certain session being suspended, the meeting of resuming operation at once Words;
3) direct interaction between object is realized:Vertical to differentiate by arranging " request does not complete labelling " in service response result Service processing flow process i.e. with non-immediate response;When process makes an immediate response service, response results directly beam back service requester, When ISP or service go-between can not make an immediate response service, will be asked by synchronization message to reality using recursive fashion Border ISP's direction forwarding;When active service supplier can not returning result immediately when, be regarded as wait simultaneously operating state, By Simulation drive device for the operation of synchronization message, whole simulation process or session is made to be also at waiting state;As synchronous behaviour Work terminates, and response results, and are received by final service requester to final host direction forwarding further through message;
4) the intelligent agent trustship of minor decision behavior is realized:Participant is allowed to its role's Observable in experimentation Parameter sets in set one group of prompting scope, each prompting scope independently specified 1 parameter and a kind of alerting pattern;When arbitrary Parameter triggers corresponding prompting action after entering the prompting scope for setting, remind participant's input decision-making;Reminding the outer profit of scope Minor decision is input into intelligent agent;
5) integrated emulation modeling is carried out:Integrated emulation is carried out to multi-player, Multi -Agent environment based on Object-oriented Technique Modeling, gives integrated environment of the experimental development person to each Object Management group, the control of the data mapping of other objects, the data Image determines ornamental of the outside simulated environment for each participant;Give participant screening and using mapping data, order Purchase and the authority of valid data is collected, to simulate the actual game environment under the conditions of imperfect information.
2. the hybrid simulation environment construction method for supporting big energy research according to claim 1, it is characterised in that event Data structure include event title and event data, can be listened to by any object interested in the event, and be triggered Event handling of the same name, can continue to trigger event in event handling, be spliced into arbitrarily complicated sequence of events.
3. the hybrid simulation environment construction method for supporting big energy research according to claim 1, it is characterised in that described Alerting pattern, reminds or its combining form including user interface prompting, multimedia messages prompting, simulation process or conversation.
4. the hybrid simulation environment construction method for supporting big energy research according to claim 1, it is characterised in that set up Involved by Unify legislation interface and Document Alignment experimental economics simulated environment, whole parameters and object data are configured.
CN201410194902.3A 2014-05-10 2014-05-10 A kind of hybrid simulation environment construction method for supporting big energy research Active CN104036067B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410194902.3A CN104036067B (en) 2014-05-10 2014-05-10 A kind of hybrid simulation environment construction method for supporting big energy research

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410194902.3A CN104036067B (en) 2014-05-10 2014-05-10 A kind of hybrid simulation environment construction method for supporting big energy research

Publications (2)

Publication Number Publication Date
CN104036067A CN104036067A (en) 2014-09-10
CN104036067B true CN104036067B (en) 2017-03-15

Family

ID=51466838

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410194902.3A Active CN104036067B (en) 2014-05-10 2014-05-10 A kind of hybrid simulation environment construction method for supporting big energy research

Country Status (1)

Country Link
CN (1) CN104036067B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113449444B (en) * 2021-09-02 2022-04-22 湖南高至科技有限公司 Simulation method, computer device and storage medium for domain engineering

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101901428A (en) * 2010-07-21 2010-12-01 中国电力科学研究院 Electricity market simulating system by adopting SOA technology
CN101908172A (en) * 2010-07-29 2010-12-08 中国电力科学研究院 Power market hybrid simulation method adopting various intelligent agent algorithms
CN103236024A (en) * 2013-03-28 2013-08-07 国家电网公司 Power system collaborative simulation system based on WEBGIS (web geography information system)
CN103279892A (en) * 2011-12-21 2013-09-04 大同电力高级技工学校 Simulation run management server and simulation object discovery method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100083145A1 (en) * 2008-04-29 2010-04-01 Tibco Software Inc. Service Performance Manager with Obligation-Bound Service Level Agreements and Patterns for Mitigation and Autoprotection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101901428A (en) * 2010-07-21 2010-12-01 中国电力科学研究院 Electricity market simulating system by adopting SOA technology
CN101908172A (en) * 2010-07-29 2010-12-08 中国电力科学研究院 Power market hybrid simulation method adopting various intelligent agent algorithms
CN103279892A (en) * 2011-12-21 2013-09-04 大同电力高级技工学校 Simulation run management server and simulation object discovery method thereof
CN103236024A (en) * 2013-03-28 2013-08-07 国家电网公司 Power system collaborative simulation system based on WEBGIS (web geography information system)

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于代理的电力市场仿真的实验设计方法探讨;王野平等;《电力系统自动化》;20090910;第33卷(第17期);56-60 *
电力市场交易机制的实验研究;华栋;《中国博士学位论文全文数据库 经济与管理科学辑》;20130515(第05期);1-160 *

Also Published As

Publication number Publication date
CN104036067A (en) 2014-09-10

Similar Documents

Publication Publication Date Title
Fujimoto Distributed simulation systems
CN103890815B (en) Method and system for being responsible for the transition virtual world that can be created, be responsible for and terminate by remote auto
CN106951926A (en) The deep learning systems approach and device of a kind of mixed architecture
Huang et al. Cap3: A cloud auto-provisioning framework for parallel processing using on-demand and spot instances
CN110309058A (en) Business end test method, device, computer installation and computer storage medium
He et al. Programming framework and infrastructure for self-adaptation and optimized evolution method for microservice systems in cloud–edge environments
CN109062780A (en) The development approach and terminal device of automatic test cases
CN103617067A (en) Electric power software simulation system based on cloud computing
CN110689223A (en) Robot batch management system based on RPA control
Cong et al. Personality-guided cloud pricing via reinforcement learning
CN108460294B (en) A kind of decision proof type block chain algorithm and its physical structure
CN104036067B (en) A kind of hybrid simulation environment construction method for supporting big energy research
CN107545453A (en) A kind of information distribution method and device
Huanhuan et al. A framework for integrating discrete event simulation with agent-based modeling
CN109388482A (en) Dispatching method, device and the storage medium of task
Vigueras et al. A scalable architecture for crowd simulation: Implementing a parallel action server
Parlavantzas et al. A service‐based framework for building and executing epidemic simulation applications in the cloud
CN104793924B (en) The processing method and processing device of calculating task
Shatnawi et al. Modeling and simulation of epidemic spread: Recent advances
Jiang et al. A Resource scheduling strategy in cloud computing based on multi-agent genetic algorithm
Sha et al. Performance modeling of openstack cloud computing platform using performance evaluation process algebra
CN114004730A (en) Deep neural network multi-model parallel reasoning method based on graphics processor
Yudanov et al. Scalable multi-precision simulation of spiking neural networks on GPU with OpenCL
Zhu et al. Hybrid resource orchestration and scheduling for cyber-physical-human systems
WO2024032239A1 (en) Application scheduling method, cloud service platform, and related device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant