10
Use ChromWorks SMB model for Control Study Understand how it could work with MS Excel, MATLAB, so on, via COM interface

Chrom works interoperability_mpc

Embed Size (px)

DESCRIPTION

Use ChromWorks SMB model for Control Study - Understand how it could work with MS Excel, MATLAB, so on, via COM interfac

Citation preview

Page 1: Chrom works interoperability_mpc

Use ChromWorks SMB model for Control StudyUnderstand how it could work with MS Excel, MATLAB, so on, via COM interface

Page 2: Chrom works interoperability_mpc

Interoperability

0ChromWorks software is developed under Microsoft .NET framework. It is 100% compatible and interoperable with any other application as long as the 3rd party application is compatible and useable within .NET framework.

0ChromWorks SMB simulator is COM-Visible. It means the user can call and execute ChromWorks SMB models from most of Windows applications (e.g. Excel, Word, PowerPoint, MATLAB, etc.)

Page 3: Chrom works interoperability_mpc

SMB simulation on Excel

0 You could use Microsoft Excel (2003, 2007 and 2010) to run ChromWorks SMB simulation model.

0 The workflow is (1) prepare your own SMB model setup on Excel spreadsheet, (2) execute SMB simulation runs, (3) interpret and visualize the simulation results on Excel spreadsheet and plot.

0 Simulation inputs and results are dynamically exchangeable at run time between Excel and ChromWorks. If you want to add your inputs into the simulation at run time, yes you can do it whatever you want.

0 Also you should be able to integrate SMB simulation with other type of additional computation, such as process control or optimization.

0 Interoperability with Excel offers a perfect environment for various industrial demands in terms of integration with other software or in-house tools.

Page 4: Chrom works interoperability_mpc

How to reference SMB model in Excel

0 First, you need to reference the ChromWorks module. In Microsoft Excel, go to Tools >> References. You could find SMBPharma, check and press OK. You will then be able to run SMB simulation from Excel.

Page 5: Chrom works interoperability_mpc

Run SMB Simulation on Excel

http://youtu.be/9jbYI60ZNjg?hd=1 Check this video in

Page 6: Chrom works interoperability_mpc

BTW, can we interface Excel with MATLAB? Yes, of course!0MATLAB offers the solution to link with MS Excel:

Page 7: Chrom works interoperability_mpc

Recommended Setup for Model Predictive Control Study in SMB

0Use Excel as a Host Program (in-direct loose coupling)

Excel to host both ChromWorks and MATLAB

Page 8: Chrom works interoperability_mpc

Another Possible Setup for Model Predictive Control Study in SMB

0MATLAB to call SMB model (direct coupling via COM) 0There are number of possible solutions available in

MATLAB support website:

Page 9: Chrom works interoperability_mpc

Information available on Internet

• http://www.mathworks.com/help/techdoc/matlab_external/bp_kqh7.html• http://www.mathworks.ch/matlabcentral/newsreader/view_thread/238320• http://tomopt.com/docs/standalone/tomlab_sal009.php• http

://groups.google.com/group/comp.soft-sys.matlab/browse_thread/thread/606fbac26f18eca4?pli=1

• http://www.quantnet.com/forum/threads/interface-between-matlab-vba-excel.2090/

• http://www.mathworks.com/support/solutions/en/data/1-1ABRP/?solution=1-1ABRP

• http://www.mathworks.com/matlabcentral/newsreader/view_thread/4855• http://www.mathworks.co.uk/matlabcentral/newsreader/view_thread/36043• http://

www.mathworks.com/support/solutions/en/data/1-19DDZ/index.html?solution=1-19DDZ

Page 10: Chrom works interoperability_mpc

Commitment from ChromWorks

0 It is our number one priority to support our customer 0We will be providing more interfaces if current

available methods are not sufficient to meet our customer’s needs in integration with other tools or software

0Thus, feel free to discuss with us if you need a particular functionality in ChromWorks software. We can realize it for you.