首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 46 毫秒
1.
The main reason for the invention of computer programming languages is for these languages to express a command‐to‐control machine behavior. Some of these programming languages have specific advantages that are used in specific environments such as structured query language (SQL), hypertext markup language (HTML), and spreadsheet. The common definitions of these languages are domain‐specific languages (DSLs). Although DSLs are the best way to deal with specific systems, it is hard to use with other environments or platforms. Groovy is a dynamic programming language that runs on the Java virtual machine. Groovy has some features that allow programmers to manage DSLs within its unique style. Groovy has some disadvantages because it does not support all Java features and syntax while also producing unnecessary byte code during compilation. This paper proposes an extended‐architecture technique to implement a computer programming language and compiler through extending Java with Groovy language. The extensible language is called ‘JGroovy’. And JGroovy is supported both by Java and Groovy language. We implement the compiler for JGroovy and call it the ‘JGroovy compiler’ (JGC). By its extended architecture, JGC is more compatible for Java source code than Javac can claim to be. And it also produces a better and more compact byte code than the Groovy compiler, with an approximate improvement of 8–12%. © 2013 Institute of Electrical Engineers of Japan. Published by John Wiley & Sons, Inc.  相似文献   

2.
A method is described for teaching structured programming techniques to students of assembly language programming. Structured programming, historically, has only been within the realm of high-level languages (Pascal, C, etc.), while a more loose approach-one lacking a formal syntax-has traditionally been applied to low-level programming in assembly language. Borrowing words and symbols from Pascal and C, a simple syntax was devised, called Pseudo Code, that uses three basic structures: linear, conditional, and loop. Upon learning that all the programs can be written using only these three structures, students become convinced of the reduced complexity brought by Pseudo Code. A method is adopted that proceeds from the problem definition to the assembly language program using Pseudo Code as an interim step. Using this method, students at the author's college have successfully developed software in assembly language that would have been too complex for them to attempt without coding their solutions in a structured form  相似文献   

3.
PLC—OPEN是工业自动化编程领域的一个标准,Codesys是德国3S公司开发的软件系统平台,是完整支持PLC—OPEN标准的软件系统平台(即IEC61131—3标准)。支持标准IL、ST、FBD、LD、CFC、SFC六种PLC编程语言,用户可以在同一项目中选择不同的语言编辑子程序,功能模块等。目前许多公司的自动化控制器都是基于这个平台开发的,例如施耐德,倍福,ABB,易福门,派芬,和利时等。使用Codesys编程实现ModbusTcpServer的功能,方便了客户使用带以太网接口的控制器和HMI或PC的通讯。降低了客户的成本,增强了系统使用的灵活性。  相似文献   

4.
5.
电力现货市场的开启对售电公司意味着机遇和挑战。基于售电公司的实际需求,介绍了电力现货市场仿真系统的设计及实现。该系统基于Java和Python编程语言,采用高效、可靠、灵活、可扩展的系统架构;可视化电网模型的编辑提高了售电公司的仿真效率;系统模块之间实现完全解耦,有益于快速适应不同的出清规则,提高售电公司竞争力。  相似文献   

6.
王永华  阎佩献  李娜 《电气自动化》2010,32(4):42-43,58
PLC在控制复杂并发事件过程中,一般编程语言存在编程复杂、不易理解、调试难度大等问题,采用SFC编程是一种非常有效的方法。该方法具有编程清晰、直观,调试方便等特点。通过对比PLC编程语言的特点,分析和验证了SFC在复杂并发事件过程中编程的优越性。以复杂的气密试验台控制系统为例,介绍了并发事件过程中如何应用SFC来进行控制程序的设计。实际应用结果表明,SFC编写的程序条理清晰,效率高,调试修改方便。  相似文献   

7.
非确定性电网规划—多级决策法   总被引:3,自引:0,他引:3  
本文将灰色系统原理应用于电力系统规划.对非确定条件下的负荷预测、电源规划和电网规划进行了探索,提出了“多级综合决策法”,并应用于一个实际电力系统规划.  相似文献   

8.
在操作票编辑系统应用前提下,基于电网拓扑的知识模型和操作票模式的决策树分析,设计实现操作票开票过程的辅助验票系统。首先建立面向对象的电网拓扑知识模型和采用决策树分类法得到操作票模式决策树,再通过分析操作目的确定操作票模式、起始和结果状态,通过分析操作内容确定每步操作的状态变迁,由决策树分析推理出后继状态特性,确定操作的合理性以及可能违反规则类型并交互给出提示信息。整个过程运用C语言编程实现并给出实例。运行结果表明本系统保证了操作票安全性及验票过程快速性。  相似文献   

9.
张心洁  王建 《中国电力》2019,52(5):134-141
针对电网集中监控信息描述模糊、间隔不明和告警级别缺失等问题,提出一种采用语义分析技术的D5000遥信信息生成与校核方法。借鉴专家知识库理论,通过编程实现D5000遥信模版的自动生成功能,并通过字符分解自动提取遥信信息表中校核模型所需的基本逻辑变量,进一步对比分析ON2000遥信信息表与D5000规范模版中的变量,实现D5000遥信信息表的校核纠错功能。某地区电网110 kV变电站遥信校核实例验证了所提出方法可有效地简化人工校核流程,提高信息处理效率,从而起到优化监控信息管理的作用。  相似文献   

10.
The combination of a traditional deep domain project course (compiler construction) with the software engineering process is discussed. The course involves a progressive and team programming project for a subset of some real structured programming languages such as ANSI-C. The software engineering practice concentrates on the implementation level, issues on detailed design, coding and documenting, and unit and integration testing. It is argued that these issues are the major problems that most undergraduates will face  相似文献   

11.
以PMU安装数、量测系统可观测性和基于混合量测的状态估计精度三者为优化目标的PMU优化配置(OPP)是二层规划问题。该文证明了用单次状态估计精度评价量测系统性能的可行性,提出精度加权估算公式。将二层规划目标简化为分段函数,提出基于记忆的改进克隆算法。除模仿生物免疫系统的克隆选择和受体编辑机制外,该算法引入记忆加速算子以强化邻域搜索,并分段调整循环补充规模、高频变异与重组操作概率,从而显著加快和稳定进化进程,避免搜索陷入局部最优解。基于IEEE 14/57节点系统的算例表明,该算法能快速稳定地求出全局最优解及近似解,比原克隆算法等更适用。  相似文献   

12.
黄颖  张茂青  何旭平 《江苏电器》2008,(3):19-21,49
以实现PLC指令集为背景,介绍了可编程控制器编程语言国际标准IEC61131—3的主要内容,包括两种文本语言:指令表IL和结构化文本语言ST,两种图形语言:梯形图语言LD和功能块图语言FBD,以及具有文本和图形两种表现形式的顺序功能图SFC语言;阐述了这些编程语言在FLC中的应用,给出了PLC编程语言的解释方法。  相似文献   

13.
Linda, a set of commands that can be added to an arbitrary programming language N to form the N-Linda parallel programming language, is described. Linda enables users to use parallelism efficiently for many applications on a wide range of machines. Linda helps parallel languages meet the following four goals: (1) to augment but not replace the (serial) programming language most suitable to solve the problem at hand; (2) to support both process creation and interprocess communication; (3) to be portable; and (4) to be easy to use  相似文献   

14.
刘霖  琚长江 《低压电器》2007,(23):56-59
指令表(Instruction List,IL)语言在PLC编程语言中是一种比较低级的语言,其他PLC编程语言的编译都可以转换为IL指令表语言,然后再编译成PLC执行所需的代码.可以说IL指令表语言的编译是PLC编程语言编译的桥梁.介绍了一种IEC 61131-3标准的IL指令表语言编译器的设计与实现.  相似文献   

15.
16.
This paper describes the use of spreadsheet programs for the numerical solution of hyperbolic partial differential equations. A complete 123 macro program is presented and applied to obtain the approximate solution of a model problem in electrical engineering. Through user “macros”, spreadsheets can now function in the same way as programs written in conventional programming languages. They provide a clear and direct means of entering data and formulas. This important feature will allow the students to easily experiment with their model problems  相似文献   

17.
本文提出了一种新型的基于McClenllan变换和二次规划的2D FIR滤波器设计方法.该方法使用McClenllan变换来实现从1D原型滤波器向2D滤波器的频率映射.在设计过程中,使用二次规划方法来求解McClenllan变换的最优系数,通过对二次规划使用一些限制条件,避免了传统的尺度变换问题.与传统的2D FIR滤波器设计方法相比,该方法使映射中1D FIR通带截止频率和阻带截止频率两点误差平方和达到最小,通过实际的扇形滤波器和菱形滤波器设计证明,本文的基于二次规划的方法是一种有效的2D FIR滤波器设计方法.  相似文献   

18.
Data flow visual languages   总被引:1,自引:0,他引:1  
Rasure  J. Young  M. 《Potentials, IEEE》1992,11(2):30-33
Current visual programming languages, which are supported by block diagrams referred to as data flow graphs, are discussed. Three systems currently available for engineers to use are examined. They are LabVIEW, for process control and instrumentation, and AVS and Khoros, for scientific data visualization  相似文献   

19.
在基于频率特性的PID控制器参数自整定算法的研究中使用LabVIEW和MATLAB混合编程进行仿真实验,利用两种语言的优势互补,在实验速度与实时性方面有了很大提高。给出了实现设计的具体过程,使该算法从实验室仿真层次上向现场实际应用跨出了重要一步。  相似文献   

20.
完成了一种在Windows操作环境下采用VC++开发工具设计的嵌入式软PLC编程系统。采用面向对象的设计思想,提出了描述软PLC梯形图元件的数据结构,以及对梯形图元件集合存储和交互式的方案。该系统针对VC++的Document/View的结构,设计了软PLC编程系统的软件结构,分为编辑、编译和仿真等功能模块,且结合相应的算法实现,并重点介绍了梯形图程序的编辑和编译扫描原理。为低成本高效率实现嵌入式软PLC编程系统提出了新方案,也为软件开发人员提供了一种软件设计的新思维。  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号