CN116136921A - Portable simulation parameter configuration method and device - Google Patents

Portable simulation parameter configuration method and device Download PDF

Info

Publication number
CN116136921A
CN116136921A CN202111370743.4A CN202111370743A CN116136921A CN 116136921 A CN116136921 A CN 116136921A CN 202111370743 A CN202111370743 A CN 202111370743A CN 116136921 A CN116136921 A CN 116136921A
Authority
CN
China
Prior art keywords
field
simulation parameter
parameter configuration
configuration information
target
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
Application number
CN202111370743.4A
Other languages
Chinese (zh)
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.)
Zhuzhou CRRC Times Electric Co Ltd
Original Assignee
Zhuzhou CRRC Times Electric Co Ltd
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 Zhuzhou CRRC Times Electric Co Ltd filed Critical Zhuzhou CRRC Times Electric Co Ltd
Priority to CN202111370743.4A priority Critical patent/CN116136921A/en
Publication of CN116136921A publication Critical patent/CN116136921A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/12Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/15Vehicle, aircraft or watercraft design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/174Form filling; Merging

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computational Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Architecture (AREA)
  • Human Computer Interaction (AREA)
  • Automation & Control Theory (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The method lists a target table according to table configuration information in a simulation parameter configuration file, and sets each field attribute in the target table according to field configuration information, so that after input parameters of a user are acquired, the input parameters can be filled into fields corresponding to the target table to form a simulation parameter table, the condition that the number of the simulation parameters is variable can be supported, and the user can add and delete the input parameters in real time according to own requirements, so that simulation scenes are enriched.

Description

Portable simulation parameter configuration method and device
Technical Field
The application relates to the technical field of magnetic levitation transportation systems, in particular to a method and a device for conveniently configuring simulation parameters.
Background
The electric traction power supply system is a complete system which receives electric energy from an electric system or a primary power supply system, supplies electric energy of a required current system to an electric locomotive load after transformation, phase change or current conversion, and completes all functions of traction electric energy transmission, power distribution and the like. The electric traction power supply system mainly comprises a traction substation and a contact net. The traction substation reduces and converts the electric energy sent by the electric power system through the high-voltage transmission line and then sends the electric energy to the contact net so as to supply the electric locomotive running along the line.
Therefore, in the infrastructure of the magnetic levitation transportation, the scale of the infrastructure of the traction and power supply system is a large proportion, and the infrastructure comprises a main transformer station, a trackside transformer station arranged along a track, a trackside switch station arranged along the track, a traction power module of the traction transformer station and a large number of traction power modules with the same functions in the traction transformer station, station facilities, maintenance base facilities and the like. The infrastructure is of a plurality of types, occupies a large space, and has a plurality of long-distance power supply cables and large power supply capacity.
There are a number of situations for a design entity or bidding department to estimate the total price of a line electrical related device: firstly, knowing the starting point and the end point of a line and the highest speed limit and tracking interval of the line; secondly, knowing the starting point and the end point of the line, the highest speed limit of the line, the tracking interval and the kilometer post of each station; thirdly, knowing the starting point, the end point position, the highest speed limit, the tracking interval, the kilometer post of each station and the speed limit and gradient value of the line; under the three conditions, the design unit or the bidding department needs simulation to quickly obtain the number of more accurate traction areas, stator switch stations, stator sections and auxiliary parking areas, so that the total price of the line electrical related equipment can be conveniently estimated. However, in the current simulation technology, only a scene with an invariable number of simulation parameters can be supported, and the simulation scene is very severely limited.
Disclosure of Invention
The embodiment of the application provides a method and a device for conveniently configuring simulation parameters, which support the condition that the quantity of the simulation parameters is variable, and users can add and delete input parameters in real time according to own requirements, so that simulation scenes are enriched.
In a first aspect, a method for portable simulation parameter configuration is provided. The method for configuring the portable simulation parameters comprises the following steps:
reading a simulation parameter configuration file, wherein the simulation parameter configuration file comprises form configuration information and field configuration information;
listing a target table according to the table configuration information;
setting each field attribute in the target table according to the field configuration information;
and acquiring input parameters, and filling the input parameters into fields corresponding to the target table to form a simulation parameter table.
According to the method of the first aspect, as the method lists the target table according to the table configuration information in the simulation parameter configuration file and sets each field attribute in the target table according to the field configuration information, after the input parameters of the user are acquired, the input parameters can be filled into the fields corresponding to the target table to form the simulation parameter table, so that the situation that the number of the simulation parameters is variable can be supported, the user can add and delete the input parameters in real time according to the own requirements, and thus simulation scenes are enriched.
According to the method, the user population is classified, input parameter information of users in different categories is customized, parameter input under multiple scenes is achieved, and operation time of the users is saved. The user can add and delete the input parameters in real time according to the own requirements, so that the user can conveniently input the parameters with different numbers, and the simulation program of the magnetic levitation transportation system can be assisted to quickly obtain the numbers of the high-speed magnetic levitation traction zones, the stator switch stations and the auxiliary parking zones.
The simulation parameter configuration file may be a JSON format file. JSON (JavaScript Object Notation, JS object profile) is a lightweight data exchange format. It stores and presents data in a text format that is completely independent of the programming language, based on a subset of ECMAScript (js specification formulated by the european computer institute). The compact and clear hierarchical structure makes JSON an ideal data exchange language. Is easy to read and write by people, is easy to analyze and generate by machines, and effectively improves the network transmission efficiency.
In one possible design, the table configuration information includes a total number of fields, and the field configuration information includes a field length; after reading the simulation parameter configuration file, the method further comprises: calculating the required memory space of the target table according to the total number of the fields and the length of each field; applying for a temporary memory space according to the required memory space; and storing the target table into the temporary memory space.
It can be understood that the method can apply for the temporary memory space according to the specific required memory space size of the target table configured by the simulation parameter configuration file, and the temporary memory space can be released after the simulation parameter table is formed for simulation, so that the memory space is not occupied. The flexibility of the memory utilization is improved, and the situation that the number of simulation parameters is variable is supported.
In one possible design, the table configuration information includes a table name and a table type;
listing a target table according to the table configuration information, including:
and listing the target table according to the table type.
The table names can be Chinese names of the tables and/or English names of the tables, the English names of the tables are names which can be identified in the program, and the Chinese names of the tables are names which are convenient for personnel to identify. The table types may include a base configuration table, an adjustment configuration table, a sample design table, a protocol table, and the like. It will be appreciated that different table types correspond to different formats of the target table, and thus the corresponding formats of the target table can be directly found for listing according to the table types.
In one possible embodiment, the field configuration information includes a field name, a field type, and a field description;
setting each field attribute in the target table according to the field configuration information, including:
setting each field attribute in the target table according to the field type and the field description.
The field names can be Chinese names of the fields and/or English names of the tables, the English names of the fields are names which can be identified in the program, and the Chinese names of the fields are names which are convenient for personnel to identify. The field type is the data type of the field, such as int, string, etc. The field description is a description of the use of the field, and it can be understood that the field description reveals the location of the field in the target table, so that each field attribute in the target table can be set according to the field type and the field description.
In one possible design, the field configuration information further includes a default value;
the method further comprises the steps of:
taking a field with the default value set in the target table as a first target field;
and filling the default value into the first target field under the condition that the first target field has no corresponding input parameters.
It will be appreciated that some fields of the target table are set with default values, i.e. the default values are filled in without corresponding input parameters. For some parameter fields which are colloquially popular or have little influence on simulation results, a user can omit an input step and directly configure default values for simulation.
In one possible embodiment, the field configuration information further includes a maximum value and/or a minimum value;
the filling the input parameters into the fields corresponding to the target table comprises the following steps:
taking a field with the maximum value and/or the minimum value set in the target table as a second target field;
and filling the input parameters into the second target field, wherein the input parameters are larger than the minimum value and/or smaller than the maximum value.
It can be understood that some fields of the target table are set with a maximum value and/or a minimum value, that is, the input parameter set by the user can be used as a valid input parameter to enter the simulation step only when the input parameter is greater than the minimum value and/or less than the maximum value; otherwise, judging that the input parameters are invalid, and not entering the simulation step. For some important parameter fields with great influence on the simulation result, the method can prevent the simulation result from being distorted due to the fact that the user inputs the wrong input parameters by mistake.
In a second aspect, the application discloses a device for portable simulation parameter configuration, which comprises a module for executing the method of any one of the first aspect.
In a third aspect, a device for portable simulation parameter configuration is provided. The device for conveniently configuring the simulation parameters comprises: a receiving module and a transmitting module.
Alternatively, the transmitting module and the receiving module may be integrated into one module, such as a transceiver module. The transceiver module is used for realizing the sending function and the receiving function of the device for the portable simulation parameter configuration.
Optionally, the apparatus for portable simulation parameter configuration according to the third aspect may further include a processing module. The processing module is used for realizing the processing function of the device for conveniently simulating parameter configuration.
Optionally, the apparatus for portable simulation parameter configuration according to the third aspect may further include a storage module, where the storage module stores a program or instructions. When the processing module executes the program or the instruction, the device for configuring the portable simulation parameter can execute the method for configuring the portable simulation parameter.
It should be noted that the device for configuring the portable simulation parameters in the third aspect may be a network device, or may be a chip (system) or other components or assemblies that may be disposed in the network device, or may be a device including the network device, which is not limited in this application.
In addition, the technical effects of the device for portable simulation parameter configuration according to the third aspect may refer to the technical effects of the method for portable simulation parameter configuration according to the first aspect, which are not described herein.
Or, in a fourth aspect, an apparatus for portable simulation parameter configuration is provided. The device for conveniently configuring the simulation parameters comprises: the device comprises a processing module and a receiving and transmitting module.
Alternatively, the transceiver module may include a receiving module and a transmitting module. The receiving module is configured to implement a receiving function of the device for portable simulation parameter configuration according to the fourth aspect. The sending module is used for realizing the sending function of the device for conveniently and rapidly configuring simulation parameters.
Optionally, the device for portable simulation parameter configuration according to the fourth aspect may further include a storage module, where the storage module stores a program or instructions. When the processing module executes the program or the instruction, the device for configuring the portable simulation parameter can execute the method for configuring the portable simulation parameter.
It should be noted that, the device for configuring the portable simulation parameters according to the fourth aspect may be a terminal device, or may be a chip (system) or other components or assemblies that may be disposed in the terminal device, or may be a device including the terminal device, which is not limited in this application.
In addition, the technical effects of the device for portable simulation parameter configuration according to the fourth aspect may refer to the technical effects of the method for portable simulation parameter configuration according to the first aspect, which are not described herein.
In a fifth aspect, an apparatus for portable simulation parameter configuration is provided. The device for conveniently configuring the simulation parameters comprises: a processor and a memory; the memory is for storing a computer program which, when executed by the processor, causes the apparatus to perform the method of any one of the implementations of the first to second aspects.
In one possible configuration, the device according to the fifth aspect may further comprise a transceiver. The transceiver may be a transceiver circuit or an interface circuit. The transceiver may be for use in a device according to the fifth aspect to communicate with other devices.
In this application, the apparatus according to the fifth aspect may be a terminal device or a network device, or a chip (system) or other parts or components that may be disposed in the terminal device or the network device, or an apparatus including the terminal device or the network device.
In addition, the technical effects of the apparatus according to the fifth aspect may refer to the technical effects of the method according to any implementation manner of the first aspect to the second aspect, which are not described herein.
In a sixth aspect, there is provided a computer readable storage medium comprising: computer programs or instructions; the computer program or instructions, when run on a computer, cause the computer to perform the method of any one of the possible implementations of the first to second aspects.
In a seventh aspect, there is provided a computer program product comprising a computer program or instructions which, when run on a computer, cause the computer to perform the method of any one of the possible implementations of the first to second aspects.
Drawings
FIG. 1 is a schematic diagram of a magnetic levitation transportation system provided by the present application;
FIG. 2 is a flow chart of a method for portable simulation parameter configuration provided in the present application;
FIG. 3 is a schematic flow chart of a simulation of a magnetic levitation transportation system provided by the present application;
fig. 4 is a schematic structural diagram of a device for portable simulation parameter configuration according to an embodiment of the present application;
fig. 5 is a schematic structural diagram II of a device for portable simulation parameter configuration according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a device for portable simulation parameter configuration according to an embodiment of the present application.
Detailed Description
The technical solutions in the present application are described below with reference to the accompanying drawings.
In the embodiments of the present application, sometimes subscripts such as W 1 May be misidentified as a non-subscripted form such as W1, the meaning it is intended to express being consistent when de-emphasizing the distinction.
In the infrastructure of the magnetic levitation transportation, the scale of the infrastructure of the traction and power supply system is a large proportion, and the infrastructure comprises a main transformer station, a trackside transformer station arranged along a track, a trackside switch station arranged along the track, a traction power module of the traction transformer station and a large number of traction power modules with the same functions in the traction transformer station, station facilities, maintenance base facilities and the like. The infrastructure is of a plurality of types, occupies a large space, and has a plurality of long-distance power supply cables and large power supply capacity.
When the design unit or the bidding department estimates the total price of the line electrical related equipment, simulation is needed to quickly obtain the number of more accurate traction areas, stator switch stations, stator sections and auxiliary parking areas, so that the total price of the line electrical related equipment can be conveniently estimated.
As shown in fig. 1, which is a schematic diagram of a magnetic levitation transportation system, information acquired by a design unit or a bidding department generally includes the following cases:
firstly, knowing the starting point and the end point of a line and the highest speed limit and tracking interval of the line;
secondly, knowing the starting point and the end point of the line, the highest speed limit of the line, the tracking interval and the kilometer post of each station;
thirdly, knowing the starting point, the end point position, the highest speed limit, the tracking interval, the kilometer post of each station, the speed limit and the gradient value of the line.
However, in the current simulation technology, only scenes with invariable simulation parameter numbers can be supported, so that the simulation scenes are very severely limited, and users cannot add and delete input parameters in real time according to own requirements.
In order to solve the above-mentioned problems, in a first aspect, as shown in fig. 2, the present application provides a method for configuring portable simulation parameters, which includes:
210. and reading the simulation parameter configuration file.
The simulation parameter configuration file may be a JSON format file. JSON (JavaScript Object Notation, JS object profile) is a lightweight data exchange format. It stores and presents data in a text format that is completely independent of the programming language, based on a subset of ECMAScript (js specification formulated by the european computer institute). The compact and clear hierarchical structure makes JSON an ideal data exchange language. Is easy to read and write by people, is easy to analyze and generate by machines, and effectively improves the network transmission efficiency.
The simulation parameter configuration file comprises table configuration information and field configuration information.
As shown in table 1, the table configuration information may include: table ID number, english name of the table, chinese name of the table, type of table, description of the table, number of fields in the table, etc.
As shown in table 2, the field configuration information may include: the ID number of the field, the length of the field, the English name of the field, the Chinese name of the field, the data type of the field, the description of the field, the unit of the field, etc.
Table 1 table configuration information
Figure BDA0003361995380000051
Table 2 field configuration information
Sequence number Field content Remarks
1 ID number of field Numbering of tables
2 Length of field Length of field in bytes
3 English name of field Names with fields that can be identified in a program
4 Chinese name of field
5 Data type of field The type of data in the program, for example: int, string.
6 Description of fields Description of the use of this field
7 Units of field The field is used in reality, for example, m, kg..
8 Default value of field The field has a value to be filled in without input
9 Minimum value of field
10 Maximum value of field
220. And listing the target table according to the table configuration information.
In one possible design, the form configuration information includes a form name and a form type; step 220 includes: the target tables are listed according to the table type.
The table names can be Chinese names of the tables and/or English names of the tables, the English names of the tables are names which can be identified in the program, and the Chinese names of the tables are names which are convenient for personnel to identify. The table types may include a base configuration table, an adjustment configuration table, a sample design table, a protocol table, and the like. It will be appreciated that different table types correspond to different formats of the target table, and thus the corresponding formats of the target table can be directly found for listing according to the table types.
230. And setting each field attribute in the target table according to the field configuration information.
In one possible design, the field configuration information includes a field name, a field type, and a field description; step 230 includes: each field attribute in the target table is set according to the field type and the field description.
The field names can be Chinese names of the fields and/or English names of the tables, the English names of the fields are names which can be identified in the program, and the Chinese names of the fields are names which are convenient for personnel to identify. The field type is the data type of the field, such as int, string, etc. The field description is a description of the use of the field, and it can be understood that the field description reveals the location of the field in the target table, so that each field attribute in the target table can be set according to the field type and the field description.
240. And acquiring input parameters, and filling the input parameters into fields corresponding to the target table to form a simulation parameter table.
For example, as shown in table 3, the format of the corresponding target table is directly found according to the table type. Then, each field attribute in the target table, such as the field attributes of A1 to A6, is configured according to the field configuration information. After the input parameters of the user are obtained, the input parameters are filled into the fields corresponding to the target form, and a final simulation parameter form is formed to participate in simulation.
TABLE 3 target form
Figure BDA0003361995380000061
/>
As shown in fig. 3, the simulation parameter table is parsed to obtain each simulation parameter. Supplementing missing parameter information under the condition that simulation parameters are incomplete; dividing a traction partition of the high-speed magnetic levitation according to all the line data and the parameter information; and arranging stator sections with standard lengths and designed auxiliary parking areas in the divided high-speed magnetic levitation traction areas according to a certain rule.
According to the method of the first aspect, as the method lists the target table according to the table configuration information in the simulation parameter configuration file and sets each field attribute in the target table according to the field configuration information, after the input parameters of the user are acquired, the input parameters can be filled into the fields corresponding to the target table to form the simulation parameter table, so that the situation that the number of the simulation parameters is variable can be supported, the user can add and delete the input parameters in real time according to the own requirements, and thus simulation scenes are enriched.
According to the method, the user population is classified, input parameter information of users in different categories is customized, parameter input under multiple scenes is achieved, and operation time of the users is saved. The user can add and delete the input parameters in real time according to the own requirements, so that the user can conveniently input the parameters with different numbers, and the simulation program of the magnetic levitation transportation system can be assisted to quickly obtain the numbers of the high-speed magnetic levitation traction zones, the stator switch stations and the auxiliary parking zones.
In one possible design, the table configuration information includes a total number of fields, and the field configuration information includes a field length; after reading the simulation parameter configuration file, the method further comprises:
251. and calculating the required memory space of the target table according to the total number of the fields and the lengths of the fields.
It will be appreciated that the sum of the lengths of the individual fields is the required memory space of the target table.
252. And applying for the temporary memory space according to the required memory space.
253. And storing the target table into the temporary memory space.
It can be understood that the method can apply for the temporary memory space according to the specific required memory space size of the target table configured by the simulation parameter configuration file, and the temporary memory space can be released after the simulation parameter table is formed for simulation, so that the memory space is not occupied. The flexibility of the memory utilization is improved, and the situation that the number of simulation parameters is variable is supported.
In one possible design, the field configuration information further includes a default value; the method further comprises the steps of:
261. and taking the field with the default value set in the target table as a first target field.
262. And filling the default value into the first target field under the condition that the first target field has no corresponding input parameters.
It will be appreciated that some fields of the target table are set with default values, i.e. the default values are filled in without corresponding input parameters. For some parameter fields which are colloquially popular or have little influence on simulation results, a user can omit an input step and directly configure default values for simulation.
As shown in table 3, the A7 field in table 3 is the first target field, and the field will automatically generate a default value for simulation without corresponding input parameters.
In one possible design, the field configuration information further includes a maximum value and/or a minimum value; filling the input parameters into the fields corresponding to the target table, including:
241. and taking the field with the maximum value and/or the minimum value set in the target table as a second target field.
242. And filling the input parameters into the second target field, wherein the input parameters are larger than the minimum value and/or smaller than the maximum value.
It can be understood that some fields of the target table are set with a maximum value and/or a minimum value, that is, the input parameter set by the user can be used as a valid input parameter to enter the simulation step only when the input parameter is greater than the minimum value and/or less than the maximum value; otherwise, judging that the input parameters are invalid, and not entering the simulation step. For some important parameter fields with great influence on the simulation result, the method can prevent the simulation result from being distorted due to the fact that the user inputs the wrong input parameters by mistake.
As shown in Table 3, the A8 and A9 fields in Table 3 are the second target fields, and the input parameter X must satisfy X > A9 and/or X < A8.
The method for configuring the portable simulation parameters provided by the embodiment of the present application is described in detail based on fig. 1 to 3, and the device for configuring the portable simulation parameters for performing the method for configuring the portable simulation parameters provided by the embodiment of the present application is described in detail below with reference to fig. 4 to 6.
In a second aspect, the application discloses a device for portable simulation parameter configuration, which comprises a module for executing the method of any one of the first aspect. The specific implementation is similar to that described in the first aspect, and will not be repeated here.
Fig. 4 is a schematic structural diagram of an apparatus for portable simulation parameter configuration according to an embodiment of the present application. As shown in fig. 4, the apparatus 400 for portable simulation parameter configuration includes: a receiving module 401 and a transmitting module 402. For ease of illustration, fig. 4 shows only the main components of the device of the portable simulation parameter configuration. The apparatus 400 for portable simulation parameter configuration may be adapted to perform the method for portable simulation parameter configuration of any of the first aspects.
The receiving module 401 is configured to read the simulation parameter configuration file.
And the sending module 402 is configured to output a simulation result.
Alternatively, the receiving module 401 and the transmitting module 402 may be integrated into one module, such as a transceiver module (not shown in fig. 4). The transceiver module is used for realizing the transmitting function and the receiving function of the device 400 for portable simulation parameter configuration.
Optionally, the apparatus 400 for portable simulation parameter configuration may further comprise a processing module 403 (shown in dashed box in fig. 4). The processing module 403 is configured to implement the processing function of the device 400 configured by the portable simulation parameters.
Optionally, the apparatus 400 for portable simulation parameter configuration may further include a storage module (not shown in fig. 4) storing a program or instructions. The program or instructions, when executed by the processing module 403, enable the apparatus 400 for the configuration of a portable simulation parameter to perform the method of the configuration of a portable simulation parameter of any one of the first aspects.
It should be appreciated that the processing module 403 involved in the apparatus 400 for portable simulation parameter configuration may be implemented by a processor or a processor-related circuit component, and may be a processor or a processing unit; transceiver module 402 may be implemented by a transceiver or transceiver-related circuit component, which may be a transceiver or a transceiver unit.
It should be noted that, the device 400 for portable simulation parameter configuration may be a network device, such as a server, or may be a chip (system) or other components or assemblies that may be disposed in the network device, or may be a device including the network device, which is not limited in this application.
In addition, the technical effects of the apparatus 400 for portable simulation parameter configuration may be the technical effects of the method for portable simulation parameter configuration of any one of the first aspect, which are not described herein.
Fig. 5 is a schematic structural diagram of a device for portable simulation parameter configuration according to an embodiment of the present application. As shown in fig. 5, the apparatus 500 for portable simulation parameter configuration includes: a transceiver module 501 and a processing module 502. For ease of illustration, fig. 5 shows only the main components of the device for portable simulation parameter configuration.
In some embodiments, the apparatus 500 for portable simulation parameter configuration may be adapted to perform the method for portable simulation parameter configuration of any of the first aspects.
The processing module 502 is configured to list a target table according to the table configuration information; setting each field attribute in the target table according to the field configuration information; and acquiring input parameters, and filling the input parameters into fields corresponding to the target table to form a simulation parameter table.
The transceiver module 501 is configured to read the simulation parameter configuration file; sending simulation results
Alternatively, the transceiver module 501 may include a receiving module and a transmitting module (not shown in fig. 5). The receiving module is used for realizing the receiving function of the device 500 for portable simulation parameter configuration, and the transmitting module is used for realizing the transmitting function of the device 500 for portable simulation parameter configuration.
Optionally, the apparatus 500 for portable simulation parameter configuration may further include a storage module (not shown in fig. 5) storing a program or instructions. The program or instructions, when executed by the processing module 502, enable the apparatus 500 for portable simulation parameter configuration to perform the method of portable simulation parameter configuration of any one of the first aspects, or to perform the method of portable simulation parameter configuration of any one of the first aspects.
It should be appreciated that the processing module 502 involved in the apparatus 500 for portable simulation parameter configuration may be implemented by a processor or a processor-related circuit component, and may be a processor or a processing unit; transceiver module 501 may be implemented by a transceiver or transceiver-related circuit component, which may be a transceiver or a transceiver unit.
It should be noted that, the device 500 for portable simulation parameter configuration may be a terminal device, such as a computer, or may be a chip (system) or other components or assemblies that may be disposed in the terminal device, or may be a device including the terminal device, which is not limited in this application.
In addition, the technical effects of the apparatus 500 for portable simulation parameter configuration may refer to the technical effects of the method for portable simulation parameter configuration of any one of the first aspect, which are not described herein.
Fig. 6 is a schematic structural diagram of an apparatus for portable simulation parameter configuration according to an embodiment of the present application. The device for conveniently configuring the simulation parameters can be terminal equipment or network equipment, and can also be a chip (system) or other parts or components which can be arranged on the terminal equipment or the network equipment. As shown in fig. 6, an apparatus 600 for portable simulation parameter configuration may include a processor 601. Optionally, the apparatus 600 for portable simulation parameter configuration may further comprise a memory 602 and/or a transceiver 603. Wherein the processor 601 is coupled to the memory 602 and the transceiver 603, e.g. connectable through a communication bus.
The following describes the components of the portable simulation parameter configuration apparatus 600 in detail with reference to fig. 6:
the processor 601 is a control center of the device 600 for portable parameter configuration simulation, and may be one processor or a generic name of a plurality of processing elements. For example, processor 601 is one or more central processing units (central processing unit, CPU), but may also be an integrated circuit (application specific integrated circuit, ASIC), or one or more integrated circuits configured to implement embodiments of the present application, such as: one or more microprocessors (digital signal processor, DSPs), or one or more field programmable gate arrays (field programmable gate array, FPGAs).
Alternatively, processor 601 may perform various functions of apparatus 600 for portable simulation parameter configuration by running or executing a software program stored in memory 602 and invoking data stored in memory 602.
In a particular implementation, the processor 601 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 6, as an embodiment.
In a specific implementation, as an embodiment, the apparatus 600 for portable simulation parameter configuration may also include a plurality of processors, such as the processor 601 and the processor 2004 shown in fig. 6. Each of these processors may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
The memory 602 is configured to store a software program for executing the solution of the present application, and the processor 601 controls the execution of the software program, and the specific implementation may refer to the above method embodiment, which is not described herein again.
Alternatively, memory 602 may be, but is not limited to, read-only memory (ROM) or other type of static storage device that may store static information and instructions, random access memory (random access memory, RAM) or other type of dynamic storage device that may store information and instructions, electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), compact disc read-only memory (compact disc read-only memory) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 602 may be integrated with the processor 601 or may exist separately and be coupled to the processor 601 through an interface circuit (not shown in fig. 6) of the apparatus 600 for portable simulation parameter configuration, which is not specifically limited in this embodiment of the present application.
A transceiver 603 for communication with other portable devices for emulating parameter configuration. For example, the apparatus 600 for portable simulation parameter configuration is a terminal device, and the transceiver 603 may be used to communicate with a network device or another terminal device. For another example, the apparatus 600 for portable simulation parameter configuration is a network device, and the transceiver 603 may be configured to communicate with a terminal device or another network device.
Alternatively, the transceiver 603 may include a receiver and a transmitter (not separately shown in fig. 6). The receiver is used for realizing the receiving function, and the transmitter is used for realizing the transmitting function.
Alternatively, the transceiver 603 may be integrated with the processor 601, or may exist separately, and be coupled to the processor 601 through an interface circuit (not shown in fig. 6) of the apparatus 600 configured with the portable simulation parameters, which is not specifically limited in this embodiment of the present application.
It should be noted that the structure of the apparatus 600 for portable simulation parameter configuration shown in fig. 6 does not limit the apparatus for portable simulation parameter configuration, and an actual apparatus for portable simulation parameter configuration may include more or less components than those shown, or may combine some components, or may be different in component arrangement.
In addition, the technical effects of the device 600 for portable simulation parameter configuration may refer to the technical effects of the method for portable simulation parameter configuration described in the above method embodiments, which are not described herein.
It should be appreciated that the processor in embodiments of the present application may be a central processing unit (central processing unit, CPU), which may also be other general purpose processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits (application specific integrated circuit, ASIC), off-the-shelf programmable gate arrays (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It should also be appreciated that the memory in embodiments of the present application may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. The volatile memory may be random access memory (random access memory, RAM) which acts as an external cache. By way of example but not limitation, many forms of random access memory (random access memory, RAM) are available, such as Static RAM (SRAM), dynamic Random Access Memory (DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced Synchronous Dynamic Random Access Memory (ESDRAM), synchronous Link DRAM (SLDRAM), and direct memory bus RAM (DR RAM).
The above embodiments may be implemented in whole or in part by software, hardware (e.g., circuitry), firmware, or any other combination. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions or computer programs. When the computer instructions or computer program are loaded or executed on a computer, the processes or functions described in accordance with the embodiments of the present application are all or partially produced. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center by wired (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains one or more sets of available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. The semiconductor medium may be a solid state disk.
It should be understood that the term "and/or" is merely an association relationship describing the associated object, and means that three relationships may exist, for example, a and/or B may mean: there are three cases, a alone, a and B together, and B alone, wherein a, B may be singular or plural. In addition, the character "/" herein generally indicates that the associated object is an "or" relationship, but may also indicate an "and/or" relationship, and may be understood by referring to the context.
In the present application, "at least one" means one or more, and "a plurality" means two or more. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown 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 units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for portable simulation parameter configuration, comprising:
reading a simulation parameter configuration file, wherein the simulation parameter configuration file comprises form configuration information and field configuration information;
listing a target table according to the table configuration information;
setting each field attribute in the target table according to the field configuration information;
and acquiring input parameters, and filling the input parameters into fields corresponding to the target table to form a simulation parameter table.
2. The method for portable simulation parameter configuration of claim 1, wherein,
the table configuration information comprises a total number of fields, and the field configuration information comprises a field length;
after reading the simulation parameter configuration file, the method further comprises:
calculating the required memory space of the target table according to the total number of the fields and the length of each field;
applying for a temporary memory space according to the required memory space;
and storing the target table into the temporary memory space.
3. The method for portable simulation parameter configuration of claim 1, wherein,
the form configuration information comprises a form name and a form type;
listing a target table according to the table configuration information, including:
and listing the target table according to the table type.
4. The method for portable simulation parameter configuration of claim 1, wherein,
the field configuration information comprises a field name, a field type and a field description;
setting each field attribute in the target table according to the field configuration information, including:
setting each field attribute in the target table according to the field type and the field description.
5. The method for portable simulation parameter configuration of claim 4, wherein,
the field configuration information also comprises a default value;
the method further comprises the steps of:
taking a field with the default value set in the target table as a first target field;
and filling the default value into the first target field under the condition that the first target field has no corresponding input parameters.
6. The method for portable simulation parameter configuration of claim 4, wherein,
the field configuration information also comprises a maximum value and/or a minimum value;
the filling the input parameters into the fields corresponding to the target table comprises the following steps:
taking a field with the maximum value and/or the minimum value set in the target table as a second target field;
and filling the input parameters into the second target field, wherein the input parameters are larger than the minimum value and/or smaller than the maximum value.
7. The method for portable simulation parameter configuration of claim 1, wherein,
the simulation parameter configuration file is a JSON format file.
8. A portable simulation parameter configuration apparatus, comprising: a module for performing the method of any one of claims 1 to 7.
9. A portable simulation parameter configuration apparatus, comprising: a processor coupled to the memory;
the processor configured to execute a computer program stored in the memory, to cause the apparatus to perform the method of any one of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a computer program or instructions which, when run on a computer, cause the method of any one of claims 1-7 to be performed.
CN202111370743.4A 2021-11-18 2021-11-18 Portable simulation parameter configuration method and device Pending CN116136921A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111370743.4A CN116136921A (en) 2021-11-18 2021-11-18 Portable simulation parameter configuration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111370743.4A CN116136921A (en) 2021-11-18 2021-11-18 Portable simulation parameter configuration method and device

Publications (1)

Publication Number Publication Date
CN116136921A true CN116136921A (en) 2023-05-19

Family

ID=86333195

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111370743.4A Pending CN116136921A (en) 2021-11-18 2021-11-18 Portable simulation parameter configuration method and device

Country Status (1)

Country Link
CN (1) CN116136921A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117574867A (en) * 2023-12-08 2024-02-20 北京天圣华信息技术有限责任公司 Statistical table generation method, device, equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117574867A (en) * 2023-12-08 2024-02-20 北京天圣华信息技术有限责任公司 Statistical table generation method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108520470A (en) Method and apparatus for generating customer attribute information
CN109002276A (en) serial number generation method, device, terminal device and storage medium
CN112559635B (en) Service processing method, device, equipment and medium for Ethernet alliance chain node
CN110427304A (en) O&amp;M method, apparatus, electronic equipment and medium for banking system
CN103034703A (en) Method for data exchange among multiple systems based on rule configuration
Abdelkader et al. Network usage determination using a transformer analogy
CN116136921A (en) Portable simulation parameter configuration method and device
Yang et al. Self-organized cyber physical power system blockchain architecture and protocol
CN108242014A (en) Sale processing method, apparatus, storage medium and the terminal of insurance products
CN110597917A (en) Tourism data management method, device, terminal and medium
CN103226549A (en) Method and device for reconfiguring display of train working diagram
CN110636522A (en) Method and device for determining coverage quality of communication network
CN105245579A (en) Power distribution network system massive data communication processing method and system
CN111311469A (en) Processing method of linkage additional service product and related device
CN107491700A (en) A kind of data access method and equipment
CN103473379A (en) Method, device and system used for electronic map
CN111291911B (en) Ticket ordering method and ordering platform
Khosravi et al. Approach for allocation of transmission loss based on contribution of generators and loads in injected complex power into network lines
CN117474735B (en) Rail transit network and city planning fusion evaluation method and system
CN110019177A (en) The method and apparatus of rule storage
CN110751423A (en) State estimation service system, micro-service architecture and state estimation method
CN101316148B (en) Service instruction generation method and device
CN115361032B (en) Antenna unit for 5G communication
CN110597786A (en) Structured data management method and device
CN117474734B (en) Existing line transformation and urban line network line and station multi-element fusion method and system

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