Top Banner
Implementation Frameworks: OpenFresco & OpenFrescoExpress Andreas Schellenberg, Ph.D., P.E. Senior Structural Engineer, Maffei Structural Engineering MTS/PEER Expert Seminar: Hybrid Simulation Technologies & Methods for Civil Engineering, UC Berkeley, 3/20-3/21/2018
53

Implementation Frameworks: OpenFresco & OpenFrescoExpress

Dec 25, 2021

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Implementation Frameworks: OpenFresco & OpenFrescoExpress

Implementation Frameworks: OpenFresco & OpenFrescoExpress

Andreas Schellenberg, Ph.D., P.E.Senior Structural Engineer, Maffei Structural Engineering

MTS/PEER Expert Seminar: Hybrid Simulation Technologies & Methods for Civil Engineering, UC Berkeley, 3/20-3/21/2018

Page 2: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB 2

1. OpenFresco Software Framework

2. Unique OpenFresco Features

3. OpenFresco Express GUI

4. Website and Resources

5. Summary & Conclusions

Outline of Presentation

Page 3: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

OpenFrescoSoftware Framework

3

Page 4: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB 4

What is OpenFresco?Open source Framework for Experimental Setup

and Control

Secure, object oriented, network enabled “middleware” -- Pairs computer analysis software with laboratory control systems and other software to enable hybrid and collaborative computing:

Control Systems dSpace MTS

STS family Flextest/CSI Flextest/SCRAMNet

National Instruments Pacific Instruments ADwin

Computational Drivers OpenSees OpenFrescoExpress Abaqus ANSYS LS-DYNA Matlab Simulink UI-SimCor

469D SRMD

Page 5: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

Why a Software Framework?Lack of a common framework for

development and deployment of HS

Problem specific implementations which are site and control system dependant

Such highly customized software implementations are difficult to adapt to different structural problems

Need a robust, transparent, adaptable, and easily extensible software framework for research and deployment

5

Page 6: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

What is a Software Framework?A reusable design for a software system,

or subsystem

Defines overall architecture of a software system, meaning its basic components and the relationships among them

Expressed as a set of abstract classes and the way their instances collaborate

Loose-coupling of components within the framework is essential for extensibility and reusability

6

Page 7: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

Rethinking implementation strategiesEmbed test specimen(s) in an existing

computational framework of user’s choice

Typical features of an analysis framework

ADMINISTRATIVEFUNCTIONS

COMMUNICATIONRECORDERS

NODALGEOMETRY

BOUNDARYCONDITIONS

MASS ANDDAMPING

PROPERTIES

LOADINGSOLUTIONMETHODS

ELEMENT TYPESAND LOCATIONS

ELEMENT PROPERTIES

STATE DETERMINATION

NUMERICAL ELEMENT 3

NUMERICAL ELEMENT 1

NUMERICAL ELEMENT 2

?

Proper numerical model uncertain

7

Page 8: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

LABORATORY CONTROLLERS

AND DAQSLaboratory

Rethinking implementation strategiesEmbed test specimen(s) in an existing

computational framework of user’s choiceADMINISTRATIVE

FUNCTIONSCOMMUNICATIONRECORDERS

NODALGEOMETRY

BOUNDARYCONDITIONS

MASS ANDDAMPING

PROPERTIES

LOADINGSOLUTIONMETHODS

ELEMENT TYPESAND LOCATIONS

ELEMENT PROPERTIES

STATE DETERMINATION

Define element as an “Experimental Element”

OpenFresco OpenFresco

Typical features of an analysis framework

EXPERIMENTAL ELEMENT 1

NUMERICAL ELEMENT 1

NUMERICAL ELEMENT 2

8

Page 9: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

OpenFresco Components

FE-Software

Experimental Site

Experimental Setup

Experimental Control

Control System

in Laboratory

Experimental Element

provides all features of unmodified

computational framework, including

parallel and network computing

provides control of physical actuators

as well as data acquisition using

physical instrumentation devices

OpenFresco

(Middleware)

9

Page 10: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

OpenFresco Components

stores data and provides

communication methods

for distributed testing

transforms between the experimental element

degrees of freedom and the actuator degrees of

freedom (linear or non-linear transformations)

interfaces to the different

control and data acquisition

systems in the laboratories

provides all features of unmodified

computational framework, including

parallel and network computing

provides control of physical actuators

as well as data acquisition using

physical instrumentation devices

represents the part of the structure that is physically

tested and provides the interface between the FE-

software and the experimental software framework

FE-Software

Experimental Site

Experimental Setup

Experimental Control

Control System

in Laboratory

Experimental Element

10

Page 11: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

Requirements for ArchitectureProvide connectivity to a wide variety of

FE-software (clients), independent of the language, such analysis software is programmed in

Enable distributed testing and support different communication protocols

Interface with rapidly evolving control and data acquisition systems deployed at testing facilities all over the world

Multi/Three-Tier Software Architecture

11

Page 12: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

OpenFresco Componentslocal

deployment

12

Page 13: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

networkdeployment

13

Page 14: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

OpenFresco Class DiagramShadow

ShadowExpSite

ActorExpSite

Actor

Channel

TCP_Socket

TCP_SocketSSL

UDP_Socket

NHCP_Socket

ExperimentalSite

1

1

theChannel

theChannel

14

Page 15: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

OpenFresco ComponentsExperimental ElementTransforms between the global element degrees of freedom in the FE-Software and the basic element degrees of freedom in the experimental element

Consider element in structureTwo coordinate systems used in FE analysis

Global System Cantilever Basic System

15

Page 16: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

OpenFresco ComponentsExperimental SiteStores data and provides communication

methods for distributed testing

LocalExpSite available for local testing and RemoteExpSite/ActorExpSite pair available for geographically distributed testing

Utilizes communication channels with TCP, TCP+SSL or UDP communication protocols

16

Page 17: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

OpenFresco ComponentsExperimental SetupTransforms between the basic experimental element degrees of freedom in OpenFresco and the actuator degrees of freedom in the laboratory (linear vs. non-linear transformations are available)

Actuator SetupCantilever Basic System

T =

1 0 0

0 1 -L0

0 1 L1

é

ë

êêê

ù

û

úúú

17

Page 18: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

OpenFresco ComponentsExperimental ControlInterfaces to the different control and data acquisition systems in the laboratories (IP addresses and port numbers)

xPC TargetPredictor-Corrector

18

Page 19: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

Computational Drivers

19

Page 20: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

How to Interface

20

Two Ways to Interface with FE-Software

Generic Client Element

Experimental Element Directly in FE-Software

Generic Client Element to be Programmed by the Developers

Several generic client elements available: /trunk/SRC/simApplicationClient

Page 21: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

Computational DriversOpenSees

Stiffness

Force

Displacement

Op

enF

resco

Initialization

Termination

LS

-DY

NA

LS-DYNA

Abaqus

Matlab/Simulink

ANSYS

21

Page 22: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

Integration Methods

Mass matrix M is often singular -> second order differential equation infinitely stiff -> fully implicit numerical methods

Make as few function calls as possible

Use constant Jacobian in the numerical methods since tangent stiffness is not available

( ) ( )nt× + × + =n n r n

M u C u P u P

22

Page 23: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

Direct Integration Methods Explicit Integrators

explicit Newmark Method

Central-Difference Method

explicit Alpha Method

explicit Generalized-Alpha Method

KR-Alpha Method

Implicit Integrators (do not use for HS)

Newmark Method

Alpha Method

Generalized-Alpha Method

Collocation Method23

Page 24: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

Direct Integration Methods Implicit Integrators with

increment reduction factors

Newmark HS IncrReduct Method

Generalized-Alpha HS IncrReduct Method

Collocation HS IncrReduct Method

Implicit Integrators with increment limits

Newmark HS IncrLimit Method

Generalized-Alpha HS IncrLimit Method

Collocation HS IncrLimit Method

24

Page 25: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

Direct Integration Methods Implicit Integrators with

sub-stepping (constant number)

Newmark HS FixedNumIter Method

Generalized-Alpha HS FixedNumIter Method

Collocation HS FixedNumIter Method

Predictor-Corrector Integrators

Alpha-OS Method

Generalized-Alpha-OS Method

25

Page 26: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

Unique OpenFrescoFeatures

26

Page 27: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

Similitude and Scaling

trial and outfactors

ctrl and daq

factors

Response Factors:factors can now be applied to trial and output response data in addition to control and daq response data

27

Page 28: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

Co-Simulation (Software Coupling)ECSimFEAdapter

$tag unique control tagipAddr IP address of slave

process$ipPort IP port of slave process

expControl SimFEAdapter $tag ipAddr $ipPort

28

Page 29: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

Co-Simulation (Software Coupling)

29

Master Programs OpenSees OpenFrescoExpress Abaqus LS-DYNA Matlab Simulink ANSYS UI-SimCor

Slave Programs OpenSees Abaqus LS-DYNA Matlab Simulink ANSYS

Page 30: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

Simulink

Test RehearsalFE-Software 1

Experimental Site

Experimental Setup

Experimental Control

Experimental Element

GenericElement

FE-Software 2

AdapterElement

ECSimSimulink (new experimental control that talks to Simulink model)

GenericElement

OPFConnect

SimFEAdapter

AdapterElement

30

Page 31: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

Force and Mixed Control

31

Page 32: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

Some useful utility commands logFile $fileName <-append> <-noEcho>

defaultUnits -force $type -length $type

-time $type -temp $type

metaData –title $txt –contact $txt –description

$txt –modelType $txt –analysisType $txt …

recordExp

removeExp recorder $tag

wipeExp

setupLabServer $siteTag

stepLabServer $siteTag $numSteps

stopLabServer $siteTag

32

Page 33: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB 33

GUI: OpenFrescoExpress

Page 34: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB 34

Select Structure

AssignMass

AssignStiffness

Select & AssignDamping

Period isimmediately calculated

GUI: OpenFrescoExpress

Page 35: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

Define Loading: Free Vibration

Select Loading

Select Type of Loading Input Free

Vibration Parameters

35

Page 36: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB 36

Experimental Setup

Select ExpSetup

Page 37: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB 37

Real Experimental Control

Select ExpControl

SelectReal Controller

SelectType of Controller

Page 38: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB 38

Real Experimental Control

InputRamp Time

Browse for MTS CSI config file

Page 39: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB 39

Analysis

Select Analysis

Click here to write TCL input files

Optionally Generate Report

Page 40: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

Structural Output

40

Page 41: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

Error Monitors: dispError and FFT

41

Page 42: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

Error Monitors: Subspace Plot

42

Page 43: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

Error Monitors: Tracking Indicator

43

Page 44: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

OpenFrescoWebsite

44

Page 45: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

http://openfresco.berkeley.edu

45

Page 46: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

Users

46

Page 47: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

Developers

47

Page 48: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

Command Language Manual

48

Page 49: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB

Forum

49

OpenFresco User Discussions

OpenFrescoExpressUser Discussions

Hybrid Simulation Discussions

Framework Development

Script & Model Database

Simulink Models

Documentation

Bug Reports

Brainstorming & Ideas

Page 50: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB 50

Summary & ConclusionsHybrid simulation inherently requires

close collaboration amongst experts from many different fields.

Structural behavior

Laboratory testing and control

Computational simulation

Information technology

Hence, hybrid simulation fosters collaboration and communication among distant researchers in different labs.

Page 51: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB 51

Summary & Conclusions OpenFresco, the environment-independent

software framework for the development and deployment provides an excellent platform for this collaboration (on-site and geographically distributed)

The modularity and transparency of the framework permits existing components to be modified and new components to be added without much dependence on other objects.

Speed up HS from beginning of planning until end of testing

Page 52: Implementation Frameworks: OpenFresco & OpenFrescoExpress

MTS/PEER Expert Seminar, UCB 52

Summary & Conclusions Large libraries of hybrid simulation direct

integration methods, experimental elements, experimental setups, controller models, and event-driven solution strategies are available to the researchers to choose or adapt from.

Needs: More user feedback on refinements and new

features

Developer contributions to extend libraries

Page 53: Implementation Frameworks: OpenFresco & OpenFrescoExpress

Questions?Thank you!

http://openfresco.berkeley.edu/

The development of OpenFresco has been sponsored in parts by the National Science Foundation through grants from the NEES Consortium, Inc.