↓ Skip to main content
A pixel art picture of ten small water pumps in a row on a wooden shelf. Seven pumps are teal and three are orange. Under the shelf stand three dark stacks of round tokens.

AIPAPP: Asset Investment Planning in Maximo Manage

Most Maximo apps help with the work of this week. Asset Investment Planning looks years ahead. It asks which assets you should replace or refurbish, in which year, and what that does to cost and risk. The app is built with the same framework as Maximo Mobile, and it runs in the browser. We opened it, walked through it with 15 demo pumps, and counted its parts.

MAS 9.2 series case study

We looked at the app on our test system, on the MAS 9.2 series. The numbers belong to that release and change with every new version of the app, so read them as a size. The app is a web app of the framework: it runs inside Maximo Manage, with no device and no offline data. Anatomy of a MAF Web App explains what that means.

Four tabs, one path
#

The start page has four tabs, and they are the steps of the work in their order:

TabWhat the planner does there
Value frameworkdefines the goals and the measures that a plan is judged by
Asset dataprepares asset types: how they age, and what an intervention costs
Strategiessets a planning horizon and a budget, adds assets, starts the optimization
Investment planholds the interventions of the scenario that was published

Each step needs the one before it. A strategy takes only assets whose type is prepared, and the optimization uses the value framework that is published. We learned both rules by running into them.

Step one: the value framework
#

The start page of Asset investment planning with four tabs: Value framework, Asset data, Strategies and Investment plan. The first tab is open and shows the goals of a published framework. The goal Reliability has the measures “Service interruption risk” of type COST and “Unplanned downtime” of type KPI. The goal Financial Performance has the measures “Asset risk” of type KPI and “Reactive replacement cost” of type COST.
The published value framework: goals, and under each goal its measures

A value framework says what “better” means for your organization. It is a list of goals, and each goal has measures. A measure is a cost or a KPI.

On an empty system, the tab offers two ways to start: a framework template, or a custom framework with your own goals. We took the template. It brought four goals, for reliability, financial performance, safety and the environment, and two measures under each goal. You can edit every goal and measure, and add your own.

A saved framework is a draft. The app then asks if it should publish the draft, and it explains why that matters: the published framework is the one the optimization uses.

Step two: asset data by type
#

The page of the asset type PUMP. A chart “End of life curve” rises in an S shape from 0 to 1 over the years 3 to 48, with the buttons “Edit curve” and “Delete” under it. Beside it are the asset lifecycle details with an effective age formula and an average maintenance cost. Below, the table “Asset interventions” has two rows: REPLACE of type REPLACEMENT with a CapEx of 12,000.00 and an OpEx of 500.00, and REFURBISH of type REFURBISHMENT with 4,000.00 and 300.00. Both reset the effective age to new.
One asset type: its end of life curve and its two interventions

The app plans by asset type. You add a type from a list, and the app opens a page for it. Our demo data has 15 assets of the type PUMP, and the page showed that number at its top. Beside it stands the number of assets without an installation date, which was 0 for the pumps.

A type needs four things before the app can plan with it:

PartWhat you enter
End of life curvetwo parameters of a Weibull distribution: the shape and the scale
Effective age formulaa Maximo formula that gives the age the app plans with
Average maintenance costone amount per year
Interventionswhat you can do to an asset, each with its costs

The curve says how the assets of a type fail with age. The dialog explains its two numbers in plain words. A shape above 1 means that the failure rate grows as the asset ages. The scale is, in the words of the dialog, the age at which 65% of the assets of this type are expected to fail. We entered a shape of 3 and a scale of 25, and the app drew the curve in the figure.

An intervention has a name, a type, a CapEx and an OpEx, a lead time in months and a downtime in hours. It can link a job plan, and a switch says if the intervention resets the effective age to new. The type list offered two values, REPLACEMENT and REFURBISHMENT. We created one of each, and after the second one the button for a new intervention was disabled.

In the list of the tab, the type has a status. With a curve and two interventions, our pumps read “Not ready”. After we added the formula and the maintenance cost, they read “Ready”.

Step three: a strategy
#

The page “Create strategy” with two steps, “Define plan scope” and “Add assets”. The first step is open. The strategy is named “Pump renewal” and has a description. Under “Time Scope” the planning horizon is 10 years, with a target start year. Under “Budget constraints” the annual CapEx target is 40,000 and the annual OpEx target is 5,000, each with an upper and a lower limit buffer of 10 percent. At the bottom are the buttons Cancel, “Save and exit” and Create.
The scope of a strategy: a horizon, a start year and two budget targets

A strategy is one planning question. Its first step is the scope: a name, a planning horizon in years, a target start year, and the budget. The budget has an annual target for CapEx and one for OpEx. Each target has a buffer in percent above and below it. The horizon was filled in with ten years when the page opened.

The second step adds the assets. A strategy takes up to 10,000 assets, as the dialog says, and you pick them from a list or through a saved query.

Our first try showed an empty list. The dialog said that no asset data was ready, and it told us to prepare the asset data by type. That was the moment we learned the rule from above: only the assets of a prepared type are offered. With the pumps on “Ready”, the dialog listed all 15, and one button added them.

Step four: the optimization
#

Two states of the page of the strategy “Pump renewal”, one above the other. In the upper one the status reads STARTING, and the page says “Generating candidate scenarios”, with a button “Run in the background”. In the lower one the status reads FAILED, and the page says “No candidate scenarios. The optimization failed.”
The run on our system: first it started, then it failed

“Run optimization” asks once, because the definition of the strategy is locked when the run starts. Then the app opens the page of the strategy with the tabs “Results” and “Definition”. It showed the status STARTING and the text “Generating candidate scenarios”. A button lets the run go on in the background.

On our system the run ended within a minute with the status FAILED. The page said: “No candidate scenarios. The optimization failed.” It gave no reason, and we stopped here.

The results page shows what a successful run would fill. It has a list of scenarios on the left. On the right it has counters for all interventions, for replacements and for refurbishments. Below them come a chart of the cost, a view of the KPI performance, and a table with one row per measure. The plan details at the end have one row per asset with its optimized year.

The fourth tab was empty too, since no scenario existed. Its text says that there is no published investment plan yet, and that you select and publish the most effective scenario. The list of that tab has columns for the intervention, the asset, the target year, a work order and a status.

What the app is made of
#

PartAsset Investment Planning
Pages11
Datasources130
Object structures14
Dialogs40
Sliding drawers0
States92
Controller classes14
Methods in these classes251
XML files1
Lines of markup3,053
JavaScript files, without tests and mock data15
Lines in these JavaScript files7,807

The app as shipped with our system of the MAS 9.2 series, where it carries the app version 9.2.0. Pages, datasources, dialogs, states and classes are counted by the structure view of our MAF editor, the lines with wc -l.

Three numbers stand out when you hold them against the mobile apps in Which App for Which Use Case?.

The app has 130 datasources. Only the Technician app has more. Of the 130, 85 read from Maximo and 45 are JSON datasources, which hold data inside the app. The page of the optimization alone has 18.

It has 40 dialogs. Of these, 23 belong to a page and 17 to the application. The app does much of its editing in dialogs: the curve, the formula, the cost, the lists to pick from, and every question before a step that cannot be undone.

It has one XML file. All 3,053 lines of markup are in app.xml. It is the other style from the one in CREWMOBILE and TIMESHEET, where every page has its own file.

By its JavaScript, the app has about the size of the Locations app. It reads and writes through 14 object structures, and eight of them were made for this app.

How the pages connect
#

The Map panel of the MAF editor for the app. The top line reads 11 pages, 25 ways, 1 call named at run time. The start page Asset_Investment_Planning is selected. It goes to editValueFrameWork and is reached from the app in 5 ways, from assetType in 5 ways, and from createStrategicPlan, createValueFrameWork, editStrategicPlan, editValueFrameWork and optimization. The list of pages below starts with Asset_Investment_Planning, assetType, createValueFrameWork, createStrategicPlan, editStrategicPlan and optimization.
The page map of our MAF editor, with the start page selected

The map of our MAF editor found 25 ways for the 11 pages, the ways from the menu of the app included. The app is a hub: six of the ten other pages lead back to the start page, and the start page with its four tabs is where each step begins. The asset type page alone has five ways back.

The names of the pages tell the same story as the tabs. There is a page to create and one to edit for a value framework, a measure, an intervention and a strategy. Besides the start page, two more pages stand alone: the asset type and the optimization.

What stood in the way on our system
#

Three things cost us time, and each one is worth knowing before you show the app to a planner.

No group had access to the app. After the installation, no security group on our system held any right on the app. The administrator was no exception: the page of the app showed an error, and the API answered with BMXAA0024E. The rights are 26 options, one on the app and 25 on its eight object structures. We granted them to the administrator group.

A type has to be ready. The status of an asset type decides if a strategy can use its assets. An empty asset list in a strategy means: go back to the asset data.

The page was behind the server twice. After we published the framework, the tab still showed the notice for a draft. After we added the 15 assets, the page still said that it was adding them, and the button for the run stayed disabled. Both times the record in Maximo was already complete, and a reload of the page showed it.

What to take from the app
#

  • Plan the security first. Decide which group gets the app, and grant the options of the app and of its object structures together.
  • Start with one asset type. A curve, a formula, a cost and two interventions make a type ready, and you see the whole path with a handful of assets.
  • Check the optimization early. On our system every step before it worked, and the run itself failed. Start one run with a small strategy before you prepare all your asset types.
  • Read it as a large web app. With 130 datasources and 40 dialogs it shows how the framework handles a long process of forms in the browser.

What to read next#

Anatomy of a MAF Web App explains the kind of app this is. Which App for Which Use Case? has the sizes of the mobile apps for comparison, and TECHMOBILE - The Technician App is the case study of the one app with more datasources.


IBM describes Asset Investment Planning in the documentation of Maximo Manage. The Weibull parameters are explained in the help that the curve dialog links to.