Mathcad for flow metering Calculations

20
Mathcad in Oil & Gas Applications Thomas Devaraj – Senior Technical Specialist

description

Discover how Mathcad can help you in your engineering calculations. here is an example for flow metering: - Effects of Errors in flow calculations .Accuracy is paramount, when measuring natural gas flow through a pipeline there is no room for calculation errors.   .An error of a fraction of a percent may over time result in a bias with a value of millions of dollars. - Mathcad Solution .Calculations in an interactive Mathcad worksheet written to ISO-5167 .Full support of Units in flow measurements

Transcript of Mathcad for flow metering Calculations

Page 1: Mathcad for flow metering Calculations

Mathcad in Oil & Gas Applications

Thomas Devaraj – Senior Technical Specialist

Page 2: Mathcad for flow metering Calculations

2

Agenda

• Introductions

• About PTC

• Mathcad strategy overview

• Flow metering Case Study

• Product walk-through & example

• Q&A

© 2010 PTC2

Page 3: Mathcad for flow metering Calculations

3

Agenda

• Introductions

• About PTC

• Mathcad strategy overview

• Flow metering Case Study

• Product walk-through & example

• Q&A

© 2010 PTC3

Page 4: Mathcad for flow metering Calculations

4

PTC: The Product Development Company

Passionate5,000 professionals focused solely on product development solutions

InnovativeOur ability to foresee industry needs has enabled us to be first to market with powerful product development solutions

TrustedEvery year, more than 25,000 companies rely on us to help give life to their product ideas and to drive product development success

Page 5: Mathcad for flow metering Calculations

5

Why PTC is the Leader

Broad capabilities on a superior architecture

Technology

Ahead of the curve at

anticipating needs

Thought

Masters at helping customers

realize value

Value

Revenue leadership with superior growth rates

Financial

Page 6: Mathcad for flow metering Calculations

6

Product Development Challenges

Economic factors

IT fragmentation

Lean product development

IT consolidation

Global product development

Workforce demographics

Web 2.0 technology

Regulatorypressures

Compliance management

CHALLENGES

INITIATIVES

Global competition

Page 7: Mathcad for flow metering Calculations

7

Our Product Development System

DistributedCollaboration

VisualizationChange & Config. Mgmt

Workflow

Communities of Practice

Heterogeneous CAD Data Mgmt

Complete BOM Management

Product Lifecycle

Management

Document Management

ECAD DataManagement

EnterpriseInteroperability

ERP

SAP, Oracle,Dynamics

Business Reporting

ProductAnalytics

InSight

ServiceInformation

Arbortext

Quality, Risk & Reliability Mgt.

Relex

Component Management

Windchill PartsLink

DigitalMockup

CreoWindchill Supplier Management

Supplier Management

Manufacturing Process Mgmt.

Windchill MPMLink

FinancialsSCMMRP

Engineering Calculations

Mathcad

Program Portfolio Management

Windchill PPMLink

EmbeddedSoftware

Open Source,Rational

Requirements Management

WindchillRequirementsLink

MCAD / CAM / CAE

Creoand other MCAD

ECAD

Cadence, Mentor, Zuken

Page 8: Mathcad for flow metering Calculations

8

What is Mathcad?

=($B$1*$D$1/2)*((PI()*$F$1*$D$1-$H$1)/(PI()*$D$1+$F$1*$H$1))+$B$1*$F$2*$D$2/2

Not this:

This:…or this

Page 9: Mathcad for flow metering Calculations

9

Agenda

• Introductions

• About PTC

• Mathcad overview

• Flow metering Case Study

• Product walk-through & example

• Q&A

© 2010 PTC9

Page 10: Mathcad for flow metering Calculations

10

> Mathcad is evolving to support the three basic strategic customer needs

– Personal productivity– Collaboration– Process

> Productive engineers need best in class engineering calculation software

> Communicating results is as important as calculating them, critical for knowledge transfer and collaboration

> Engineering activities do not happen in isolation, but as part of processes that support business initiatives

> Mathcad’s efficiency is critical to all three

PTC’s Mathcad Product Strategy

Personal• Desktop Product

Strategy

Collaboration• Multi-product

Strategy

Process• PDS Product

Strategy

Page 11: Mathcad for flow metering Calculations

11

> Other analysis, CAD, FEA, raw data sources tools and applications

> Ad-hoc content sharing with MS Office (Excel, Word, PowerPoint)

> Manage content in SharePoint, worksheet associations in ProductPoint

> Manage, search, route content, and utilize viewables in Windchill

> (future) Enable common math language protocol for cross-application sharing

> (future) Combine social networking with product development in SPD

> (future) Web-browser calculation delivery and IP protection

> (future) Collaborative enhancements such as rights management, real-time worksheet collaboration, etc

Mathcad Strategy (Collaboration)

Mathcad product-based integrations enable better collaboration

Engineering applications

MS Office applications

Windchill ProductPoint

Windchill

MathML common language

Windchill SocialLink

Web

Other futures

Increasing value to organization

Page 12: Mathcad for flow metering Calculations

12

© 2010 PTC

12

The Mathcad environment at a glance

> Intuitive

– Simple to use, yet powerful– Natural math notation– whiteboard interface

> Comprehensive

– Combines text, live equations, graphics, and annotations in a single worksheet

– Unmatched breadth of application- powerful mathematics functionality

– Unit awareness – Automates process; repeatable &

auditable

> Interoperable

– Easily integrates with other engineering applications

0 0.5 1 1.5 2 2.5 3 3.5 41

0.5

0

0.5

1Fig 1: Airfoil Shape using Bezier Curves

Yj

Vj

v1s 1

v2s 1

X j U j v1s 0 v2s 0

Mathcad is used to explain the theory of airfoil lift, provides a numerical analysis of the flow over an airfoil (to compute CL) and

correlates the experimental results.

Lift Ap cos

d A0.5 U2

1u

U

2

cos

d

CLLift

0.5 U2 As

CL

2

N

j

dxj 1 0.5 V

j 1 Vj

Page 13: Mathcad for flow metering Calculations

13

Overcomes Inefficiencies of Traditional Tools

Hand Calculations / Reference Material – Hand Calcs - easily written – yet difficult to confidently understand

• It’s strictly a static document – modifications or reusability requires a re-write• Time consuming & error prone

– Books/Electronic documents – often “dead” documents, re-work is not easy• Re-work is time consuming, & requires some translation to a new platform• Errors in translation & not economical with time

Mathcad addresses inefficiencies with clear, documented, reusable engineering solution

Excel (& Word) ~ Pervasive, but Imperfect

– Excel - live calculations, formatted as doc with excessive efforts• but formulae hard to read – auditing difficult/lack of documentation in one tool

– No “units” management • (eg Mars Explorer issue, etc)

– Prone to errors when re-used• (90% of spreadsheets over 150 rows)

Programming-based approaches– Geared toward heavy analysis/simulation (where applicable)– Very specialized capabilities,

• requires very fluent users (often programmers & not engineers)

– Re-use can be restricted• Typically a high learning curve, low reusability, not for documentation

Page 14: Mathcad for flow metering Calculations

14

© 2010 PTC

Major O&G Companies are Standardising on Mathcad

Maersk, Drilling Operations

Audit requirements to ISO 5167 on metering devices for oil/gas flow. Excel made iterations difficult and little transparency. Mathcad is used for all auditing/checking.

Previous tools used — hand written calculations, calculators, spreadsheets, programming solutions, etc

Smith Rea, Metering Performance

Subsea7, Pipelines & Structures

Mathcad used to analyse and communicate drilling performance calculations between on-shore andoffshore teams – resulted in significant drilling performance and production improvements

Mathcad is the critical tool for performing & documenting all pipeline and structural calculations to ISO and DNV specifications.

Page 15: Mathcad for flow metering Calculations

15

Agenda

• Introductions

• About PTC

• Mathcad overview

• Flow metering Case Study

• Product walk-through & example

• Q&A

© 2010 PTC15

Page 16: Mathcad for flow metering Calculations

16

Case Study - Flow metering

> Measurement principles– The flow of gas in a pipeline is measured using an orifice plate meter; this

is essentially a flat plate with a circular hole, inserted into the pipe line.

– A pressure drop occurs across this plate when a fluid flows.

– The mass flow rate is determined by measuring the differential pressure http://en.wikipedia.org/wiki/File:Orifice.png

(pressure drop) across the plate along with a number of other parameters

> Standards Compliance, Validation– The mass flow calculation is given in the international standard ISO 5167.

– In an industrial installation this calculation will be performed using dedicated flow computers.

– There is a requirement to validate these calculations and periodically perform independent checks,

– Tools such as Excel had been used, but iteration made this cumbersome and transparency is difficult to achieve, increasing risk of errors.

Page 17: Mathcad for flow metering Calculations

17

Case Study - Flow metering cont’d

> Effects of Errors in flow calculations– Accuracy is paramount, when measuring natural gas flow through a pipeline there

is no room for calculation errors. – An error of a fraction of a percent may over time result in a bias with a value of millions of dollars.

> Mathcad Solution – Calculations in an interactive Mathcad worksheet written to ISO-5167– Full support of Units in flow measurements

Page 18: Mathcad for flow metering Calculations

18

> Benefits– Aids transparency of calculation – ideal for re-use and auditing– Supports compliance to Industry Standards– Allows for quick re-use– Framework for validation of results against Industrial tools and processes

– Protects the bottom line

Case Study - Flow metering cont’d

Page 19: Mathcad for flow metering Calculations

19

Agenda

• Introductions

• About PTC

• Mathcad overview

• Flow metering Case Study

• Product walk-through & example

• Q&A

© 2010 PTC19

Page 20: Mathcad for flow metering Calculations

Thank you

Require more info? contact: Sebastien Coulon, [email protected]