blogger counters

Sunday, January 27, 2019

Risk Mgmt Unit 4: Using Blockchain to Eliminate Counterfeit Electronics: Scenarios and Simulations

Learn how to develop probabilistic models using machine learning and other analytic tools to identify and quantify risk. Identify effective ways to use scenarios and simulations, especially in a collaborative environment or context, to identify risks and manage them by using all available combinations of resources. Describe how blockchain is revolutionizing the supply chain.

Unit Presentation:


PDF (contains links to readings, etc.)
Scenario 4:  Using Blockchain to Eliminate Counterfeit Electronics: Scenarios and Simulations

Emily and Charles are worried. They’ve agreed to put sensors on all the pumps, gas gathering systems, in pipelines, injection wells, and disposal wells.

They hope to eliminate the need for field techs to have to check installations every day, and they want to be able to predict maintenance schedules, as well as where / when to maintain corrosion control, and when to replace equipment. They want to move away from a rigid schedule of maintenance and move to a more “reality based” maintenance and replacement.

However, they are worried. Their entire model depends on high-quality sensors and electronic components that do the job they’re supposed to do.

They’ve come to find out that an alarming percentage of electronic components are counterfeit, which means that they do not do what they’re supposed to do. That’s a terrifying thought when one considers that all the decisions are made based on the readings that the sensors and components deliver via the Industrial Internet of Things (IIoT).

Your Task: Help Emily and Charles come up with a plan to make sure that all that the components they have are authentic.

• Develop a plan for Emily and Charles to work with their suppliers to use Blockchain technology to assure authenticity.

• Also, help Emily and Charles develop a plan to use the information from the IIoT to determine when and how to maintain and replace equipment.

• Explain to Emily and Charles how to brainstorm using mind-mapping and role-playing with other team members.

• Develop recommendations for both supply chain integrity (using blockchain) and maintenance / replacement protocols and best practices for the company.


Thinking about Scenarios:

 How to do them
 Define the elements
  What can happen?
  Who is impacted?
  Who can do anything?

 Mind maps


 Group activity (collaborative online and face to face)
 What is the information that you need?
 What is the situation?
 What are the variables?
 What can be controlled?
 What is the flow? (mapping / workflow)
 How to get started:  software
 Dealing with complexity
 Possible outcomes: listing / prioritizing
 Quantifying possible consequences


Future directions:

What is Blockchain Technology?  A Step-by-Step Guide for Beginners

Blockchain Fundamentals:

“Every time a product changes hands, the transaction could be documented, creating a permanent history of a product, from manufacture to sale”

Vorabutra, Jon-Amerin, (2016) Why Blockchain is a Game-changer in Supply  Chain Management Transparency.

TAMUT  MBA in Energy Leadership: Click link to apply - more information

For more information about the courses (and this full course), please contact me.

Risk Mgmt Unit 3: Predicting Risk: Approaches using Artificial Intelligence and Machine Learning

Upon successful completion of this unit, learners will be able to identify how to use artificial intelligence and machine learning to predict levels and types of risk, both known and unknown.  Links to open source platforms, languages, and computing environments are provided.  It is not necessary to learn the computing languages or to develop new code or programs; the goal of this unit is to familiarize learners in order to work effectively in teams with data scientists, domain experts, and financial decision-makers.

Unit Presentation:


PDF (contains links to readings, etc.)  

Scenario 3:  Predicting Risk: Approaches using Artificial Intelligence and Machine Learning

Julia, Patricio, and Reyna are part of a team that is tasked with classifying old shallow-water offshore wells in the Gulf of Mexico in new ways that will help them develop a plan to boost production. 

They feel very fortunate in that around a million geological and production records have been scanned, and they cover the 150 or so wells in the field.  It’s a treasure trove of data, and they want to incorporate it with the new data in order to develop a profile of the best wells, as well as the good, mediocre, and underperforming wells.

Your Task: Help Julia, Patricio, and Reyna develop a plan to analyze the data, and then help them determine where, when, and how they can use artificial intelligence and machine learning to create profiles.

Here are a few things to consider:
 How will you select the data to use?
 How will you organize it?

What does it mean for a well to be:

What are the attributes or clusters of characteristics you’ll use?
 What approach will you use to select data?
  To clean the data?
  To analyze the data?
 What kind of AI / ML approach will you use?
 How will you use the results?


Overview thoughts / concepts

Lists of uses of AI / Machine Learning the energy industry
  Classify wells using your own unique set of criteria
  Identify high-value (or potential high-value) blocks
  Classify infrastructure (pipelines, etc) with your own criteria
  Predict overall performance and the location of bottlenecks
  Retail / distribution
 Wind energy  Identify high-value, high-return new locations
  Identify small businesses that would benefit from local energy
 Solar energy
Workflow for machine learning (in general)

● Pinpoint the problem you want to solve.
● Identify the data you’ll need to use
● Collect the data
● Clean the data
● Organize your data (put into a model - if structured, may use Open Source models such as those from Apache HaDoop)
● Find a model
● Develop algorithms (May use repositories and also cloud-based interfaces)
● Train the model
● Test with data sets
● Reality check
● Decision points

How do I clean data?
 What is “dirty” data? 
  Does not make sense
  Bad labels
  Incorrect formatting
  Too many “nulls”
  Part of the data in a different order or different columns

Brendon Bailey’s Guide:  Use Excel or Python to Clean Data?

Use Excel if: You have fewer than 1 million records
You need to do the job quick and easy
There is a logical pattern to cleaning the data and it’s easy enough to clean using Excel functions
The logical pattern to cleaning the data is hard to define, and you need to clean the data manually

When you might use Python or another scripting language:

Use Python if: You need to document your process
You plan on doing the job on a repeat basis
There is a logical pattern to cleaning the data, but it is hard to implement with Excel functions

Brendon Bailey. “Data Cleaning 101”

Where do you keep the data?
 cloud solutions (Google, Amazon Web Services (AWS))

Software for risk analytics (free / open source):

Spotfire ( (free Spotfire alternative,
Jupyter Notebook

A Gallery of interesting Jupyter Notebooks (ready to share)

How do we predict where and when high-risk situations may take place?
 Analyze data
 Probabilistic analysis (Spotfire, etc.)
 Using geospatial elements

What is the ideal combination of variable or factors to tell us when / where / how conditions are ideal for a) optimization; b) an accident or problem ?
 Use multivariate analysis
 Bring together all risk factors: geological, logistical, political, economic, legal, environmental, etc.
 Weight them by importance (assign a percentage)

Learn and Use Machine Learning


Tensorflow Machine Learning Cookbook:

AI and Probabilistic Models

Part I

Part II

Bougher, Benjamin Bryan. (2016)  Machine Learning Applications to Geophysical Data Analysis. Open Collections. University of British Columbia.

Bougher, Ben B. (2016) Using the scattering transform to predict stratigraphic units from well logs. Seismic Laboratory for Imaging and Modeling (SLIM), The University of British Columbia, Vancouver

Data:  Trenton Black River gamma ray logs

Methodology:  supervised learning ("uses labelled datasets to train a classifier to make predictions about future data" (Bougher, 2016))

Methodology - what's the algorithm?  Bougher uses a scattering transform - and then it fieeds a K-Nearest Neighbours (KNN) classifier).

How can I do this?

Using convolutional neural networks to solve a mineral prospectivity mapping problem
Framing the exploration task as a supervised learning problem, the geological, geochemical and geophysical information can be used as training data, and known mineral occurrences can be used as training labels. The goal is to parameterize the complex relationships between the data and the labels such that mineral potential can be estimated in under-explored regions using available geoscience data.

Granek, Justin. (2016). Application of Machine Learning Algorithms to Mineral Prospectivity Mapping. Open Collections. University of British Columbia.

TAMUT  MBA in Energy Leadership: Click link to apply - more information

For more information about the courses (and this full course), please contact me. 

Risk Mgmt Unit 2: Cascading Risks: Workflows for Risks

Learn to identify and evaluate cascading risks and causal chains is the goal of this unit, with easy-to-use tools for creating flow charts and maps for analysis and decision-making.
• Determine the data you need to understand systemic risks
• Identify the relationships that lead to cascading risks
• Discuss ways do develop workflows of flows of risks
• Identify the locations most likely to trigger cascading failures
• Identify the types of risks associated with the failures
• Describe methods of analyzing cascading risks using several analytical techniques
• Explain how a Bayesian analysis can be effective for identifying relationships

Unit Presentation:

PDF (contains links to readings, etc.)

Scenario 2:  Cascading Risks:  Workflows for Risks
Joseph works for Wolf Midstream, which recently diversified into solar and wind energy to generate electricity for the grid in northeastern Texas and southwest Arkansas. 

Things have been going well.  However, the weather forecast says there is a high likelihood of a tornado outbreak near their solar panel farm and also near the Wolf wind farm. Wolf Midstream is connected with Lone Wolf Electric, which owns transmission lines into the small towns and rural homes.

The leadership of Wolf wants a report that provides 3 different scenarios for different levels of storms.  They want to know what all the potential impacts will be, and how they will affect each other.

Your Task: Help Joseph develop a map that shows how damage in one place will affect other places, resulting in causal chains, and cascading failures.

What will Joseph need?
 Which data does she need to collect?
 What kind of maps should she build?
 Use a diagram to show with arrows the cascading failures.
 Then, mark on a map where the problems will occur (after you’ve completed the diagrams).

You may wish to create 4 different maps:
 Stage 1: Initial impact
 Stage 2:  Secondary impact
 Stage 3:  What happens after Stage 2 failures occur
 Stage 4:  Final level of outcomes (long-term consequences).


“Risk relationships and cascading relationships in critical infrastructures”,%202014.pdf

Destruction of infrastructure => disruption of supply chain => disruptions in global / local manufacturing (or mining, etc.)

Bottlenecks (constraints)
Strategic Supply Chain Mapping Approaches

Mapping Supply Chain Constraints in LPG
Analysis of Liquified Petroleum Gas (LPG) Shortage in Ghana: Case of the Ashanti Region

Bayesian networks:
Bayesian Network Tools in Java:

Getting started:

Texas AM Texarkana TAMUT MBA in Energy Leadership: Click link to apply - more information

For more information about the courses (and this full course), please contact me. 

Risk Mgmt Unit 1: Identifying and Quantifying Risks in the Energy Industry Using Heat Maps

Upon successful completion of this unit, learners will be able to identify and define risks in the energy industry (petroleum, natural gas, alternative), and construct risk heat maps for analysis, strategic planning and decision-making.

Unit Presentation: 
Pdf:  (contains links to readings):


Scenario 1:  The Real Risks:  Identifying and Quantifying Using Heat Maps

Mark, Tamara, and Talib have put together a small company, Invictus Energy, with the goal of buying two or three small mature fields that also has a pipeline and gas gathering system. 

 Their goal is to revitalize the fields, renegotiate contracts, and then sell the fields and the gas gathering system and pipelines. They have obtained private equity financing, but are a bit alarmed at how much personal "skin in the game" they have to put up.

They are required to put in their own savings and assets, which makes them very nervous. But, they believe they can boost the production and recoverable reserves by 50%.  They are worried because the pumps are old, and the pipeline and gas gathering systems have not had any corrosion control or maintenance in many years.

Your Task:  Help Mark, Tamara, and Talib identify and rank the risks. Then, help them create a heat map so they can make sound financial decisions.

 --What are the kinds of risks that Invictus Energy will face?
 --What is the probability and potential impact of each?
 --What does a risk heat map look like for Invictus?
 --What are 3 or 4 decisions that the heat map can help with?


Unit Presentation:

Heat Maps – where how to build them 

Example: Upstream oil and gas exploration and development
 Geological Risk (model, quality of information, imaging)
 Legal risk (title, etc.)
 Analytics risk (model, organization of information)
 Data Acquisition Risk
 Safety risk
 Drilling Risk (out of zone)
 Hydraulic fracturing risk
 Completion Risk 

Other examples:  Solar and wind energy generation and distribution.

Texas A&M Texarkana MBA in Energy Leadership: Click link to apply - more information

For more information about the courses (and this full course), please contact me. 

Sunday, January 20, 2019

William Hogarth and the “Social Media” of 18th Century England: What Would Hogarth Say About Brexit?

Starting around 1711, with the launching of the one-page news and gossip sheet, The Tatler, London suddenly had an explosion of daily information that was liked, shared, trolled, and sometimes even “demonetized” in ways that profoundly parallel today’s social media. The Tatler, The Spectator, and The Guardian were the most influential, but there were many competitors and upstarts, all competing in a London hungry for outlets to protest conditions, rail against the leaders, and promote the theatre, arts, and literature.

Much of the content was social and political commentary – and disinformation was as popular as truth, and more so if the truth was not very interesting.

In addition to stories and journalism, ink prints, often hand-colored, were extremely popular, and of all the artists, William Hogarth (1697 - 1764) was by far the most the most popular with his satiric and moralizing visual narratives.

Hogarth Self-Portrait with Pug (17457)
The most popular were lurid cautionary tales: A Harlot’s Progress and A Rake’s Progress (1733) were sold, and virtually all of London was encompassed in the expansive den of sin:

Hogarth Rake's Progress:  Part I 
Hogarth’s depictions of society and the kinds of characters people knew in their own society told biting stories that were built on truth. They illustrated much of what one would see in the novels and theatre of the time as well, in such classics as Oliver Goldsmith’s She Stoops to Conquer.  In his paintings, Hogarth shows a great deal of admiration for the Dutch and Flemish realist traditions, with small details showing the humanity of the subjects, such as children teaching their dogs to shake hands, as in the case of Hogarth’s oil sketch of the family of George II.

As in the social media of the 21st century, Hogarth’s prints had an immediate impact on public opinion.  They were reproduced, shared, and commented upon in the news and widely circulated daily broadsides. They had the ability to influence public opinion of public figures, as well as to openly acknowledge the darker aspects of a modernizing, industrializing center of an emerging empire.

The Role of Technology and Free Speech
As almost always is the case, technology made the breakthrough in communication possible.  New hydraulically-powered milling technology made cheap paper possible, along with printing presses, good ink, and distribution systems.

And, also there was the willingness of the government to tolerate a free press, and even though libel and slander laws were in place, the overall atmosphere was one of freedom of expression. The public loved the lurid depictions of their own society, and they had more disposable income than ever.

The Spectator
Part of the willingness to tolerate a free press could have to do with the fact that the new Hanoverian king, George I, did not speak English very well, and in fact, did not even feel comfortable in England. He was king by a trick of fate. The previous monarch had no living offspring, despite his wife’s 14 pregnancies.   The King was willing to delegate authority and take more of a hands-off approach, recognizing the role of parliament in day-to-day government. Hogarth depicted Georgian society with satire, which may have displeased the Hanoverian monarchs.

King George II (source: Wikipedia)
Under the Hanoverians, England grew, but not without controversy. With the new social media, aspects of society that could have been kept under wraps were free to be exposed, and an entire population could be awakened to what really transpired in their midst.  Hogarth’s Gin Lane and The Marriage Transaction were hard, honest, and humorous looks at the realities of London:

Jump-start to Brexit: What would William Hogarth do?
England is on the cusp of a dramatic change, but instead of growth and expanding influence, the change involves a rather startling potential shrinkage. Brexit could open new trading relationships. In 2016, trade with the European Union constituted 48% of UK’s total exports (  In 2016, trade with the 52 nations of the British Commonwealth constituted only 9% of total exports. (

Brexit does not mean that there will no longer be trade with the nations of the European Union.  However, it does mean that trade will be slower, more complicated, and subject to protectionism without the hard-won trade partners bloc harmonization protocols that are not easily replicated individual countries on a piecemeal basis. So, even if the U.K. maintains a 48% percentage of exports to the U.K., the profits are likely to be much lower.  Most economists predict that a Brexit without any sort of trade harmonization with the E.U. will result in an immediate collapse of exports to the E.U. as tariff and import ambiguities constitute a powerful barrier.

With such disastrous potential consequences, what was it that induced members of the U.K. to vote to leave the European Union?  Two factors were portrayed by social media, and they had a measurable impact on popular opinion: first, fear of immigration, and second, the resentment of external standards that resulted in very high production cost, especially in food and agricultural sectors.

One can imagine Hogarth’s depiction of U.K. farmers, shopkeepers, city-dwellers terrified by violence, and then also of immigrants and the E.U. as seen through the eyes of English nationalists.

Background Readings

Bury, Stephen. (2015) “British Visual Satire in the 18th-20th Centuries” Oxford Art Online.

Office for National Statistics (3 March 2017) Commonwealth Trade in Focus as the U.K. Prepares for Brexit.

Office for National Statistics (2 Feb 2017) Who does the U.K. Trade With?

William Hogarth. (n.d.) National Gallery.

William Hogarth.  (n.d.) New World Encyclopedia.

Blog Archive