/* ---- Google Analytics Code Below */
Showing posts with label Simulation. Show all posts
Showing posts with label Simulation. Show all posts

Wednesday, May 17, 2023

Watch 44 million atoms simulated using AI and a supercomputer

 AI Simulating

Watch 44 million atoms simulated using AI and a supercomputer   

This simulation models a huge number of atoms in detail with the help of artificial intelligence

By Alex Wilkins, 16 May 2023  in New Scientist

The most accurate simulation of objects made from tens of millions of atoms has been run on one the world’s top supercomputers with the help of artificial intelligence.

Existing simulations that describe in detail how atoms behave, interact and evolve are limited to small molecules, because of the computational power needed. There are techniques to simulate much larger numbers of atoms through time, but these rely on approximations and aren’t accurate enough to extract many detailed features of the molecule in question.

Now, Boris Kozinsky at Harvard University and his colleagues have developed a tool, called Allegro, that can accurately simulate systems with tens of millions of atoms using artificial intelligence.

Kozinsky and his team used the world’s 8th most powerful supercomputer, Perlmutter, to simulate the 44 million atoms involved in the protein shell of HIV. They also simulated other common biological molecules such as cellulose, a protein missing in people with haemophilia and a widespread tobacco plant virus.

“Anything that’s essentially made out of atoms, you can simulate with these methods at extremely high accuracy, and now also at large scale,” says Kozinsky. “This is one demonstration, but by no means constrained to this domain.” The system could also be used for many problems in materials science, such as investigating batteries, catalysis and semiconductors, he says.

To be able to simulate such large numbers of particles, the researchers used a kind of AI called a neural network to calculate interactions between atoms that were symmetrical from every angle, a principle called equivariance.  ...' 

Saturday, March 18, 2023

Exploring Definition of Digital Twins in GPT

 Been exploring how well GPT defines technical terms that I know by experience.   Here is an example: Digital Twins.   In particular its relationship to digital simulation approaches, which I have done in industry for a long time.    Here is an example using ChatGPT, at the first level of definition.  How good is this for the beginner in distinguishing it from simple simulation?   Also taking this further including 'Tell me more' and 'simplify' style prompts.  Reasonable?

 Digital Twin: (Initial Definition)

    Digital twins are virtual representations of physical systems or processes that are designed to simulate and analyze their behavior in real-time. These virtual models are created by combining data from various sources, including sensors, IoT devices, and other sources, to create a real-time representation of the physical system.

Digital twins can be used in a wide range of applications, including manufacturing, healthcare, and transportation. For example, in manufacturing, digital twins can be used to simulate production processes and optimize the manufacturing process, reducing costs and improving quality. In healthcare, digital twins can be used to simulate and analyze patient data to improve diagnosis and treatment, while in transportation, digital twins can be used to optimize traffic flow and reduce congestion.

Digital twins are often used in conjunction with machine learning and artificial intelligence (AI) algorithms to provide predictive insights and optimize performance. By using real-time data from the physical system, digital twins can predict and respond to changes in the environment or the system itself, enabling proactive maintenance, reducing downtime, and improving performance.

Overall, digital twins represent an exciting new technology that has the potential to transform a wide range of industries by enabling real-time simulation, analysis, and optimization of complex physical systems.  STOP    

New Knowledge from Digital Twins

New Knowledge from Digital Twins

Digital Twins Offer Us Access to New Knowledge By SINTEF (Norway)  March 14, 2023  in CACM

According to SINTEF researcher Jan Tore Fagertun, “A digital twin incorporating real-time simulation makes it possible to answer questions that are of key importance to those responsible for managing an aquaculture facility.”

Data modeling systems developed by researchers at Norwegian research and development organization SINTEF can extrapolate new insights from vast datasets using digital twins.

The researchers are developing a digital twin for the RACE Digitalcage aquaculture project.

SINTEF's Jan Tore Fagertun said, "A digital twin incorporating real-time simulation makes it possible to answer questions that are of key importance to those responsible for managing an aquaculture facility."

When fed weather and wave-condition projections and historical production data, the digital twin can anticipate short- and long-term facility production trends, as well as provide decision support.

Fagertun envisions digital twins providing such capabilities to future aquaculture operations involving massive numbers of fish and located far away from shore.

From SINTEF (Norway)

View Full Article   

Friday, March 10, 2023

Researchers Develop Tool to Identify Existing Drugs to Use in Future Outbreak

More Sim advances link existing drugs to future outbreaks.

Researchers Develop Tool to Identify Existing Drugs to Use in Future Outbreak

By New York University, March 9, 2023

“Drug repurposing strategies provide an attractive and effective approach for quickly targeting potential new interventions,” said Bud Mishra, a professor at NYU’s Courant Institute of Mathematical Sciences.

An artificial intelligence algorithm developed by a global team led by researchers at New York University (NYU) can identify existing drugs that could be repurposed during future pandemics.

The PHENotype SIMulator (PHENSIM) simulates tissue-specific infection of SARS-CoV-2 host cells and calculates the antiviral effects of existing drugs via in silico experiments that take into consideration selected cells, cell lines, and tissues under various alterations of biomolecules.

The tool's effectiveness in identifying drugs for repurposing was confirmed by comparing its results with recent in vitro studies.

NYU's Naomi Maria said, "We've been able to model the SARS-CoV-2 infection and identify several COVID-19 drugs currently available as potentially effective in battling the next outbreak."

Added NYU's Bud Mishra, "Identifying and selecting ahead of time the best candidates, prior to costly and laborious in vitro and in vivo experiments and ensuing clinical trials, could significantly improve disease-specific drug development."

From New York University 

View Full Article

Saturday, March 04, 2023

Japan Piloting Digital Yen

How stable and secure?  Simulation tests  to be run. . 

Japan to Launch Pilot Program for Issuing Digital Yen,        By Reuters  February 23, 2023

If everything goes as planned, the Bank Of Japan could issue a central bank digital currency in 2026.

The Bank of Japan (BOJ) said Japan will in April initiate a program to test a digital yen following two years of experimentation.

BOJ's Shinichi Uchida said the bank will simulate transactions with private entities in a test setting.

The bank said the program will help BOJ prepare for the government's potential issuance of a central bank digital currency (CBDC).

The central bank's Kazushige Kamiyama said the test program will extend over several years, and entail negotiations with commercial banks, non-bank settlement firms, and carriers.  Japan and other advanced economies aim to catch up with China's CBDC launch, which has placed the country ahead of others in the digital currency race.

From Reuters   View Full Article    

Sunday, February 19, 2023

Uses of Digital Twins in the Warehouse

Thoughtful look  at Twin based modeling.  5 Cases.

Uses of Digital Twins in the Warehouse   in SupplyChainBrain

The digital twin of a warehouse — a real-time, 3D virtual representation of an actual facility down to the space, people, equipment and inventory — lets operators monitor activity, respond instantly to disruption and model future scenarios to improve performance. Here are five top use cases for a digital twin.

1  Manage volatility and complexity with a static workforce.

Chronic shortages in warehouse labor continue, leaving operators to navigate more complex order flow and heightened customer expectations for service reliability with the same or fewer workers, all as wages and operating costs rise.

The latest U.S. Department of Labor numbers for October 2022 tell the story: 482,000 job openings in transportation and warehousing, with 322,000 hires minus 294,000 quits, layoffs and discharges. Industrywide churn hovers around 50% annually. Worker-retention efforts focus on flexible hours, more varied work, less travel time and less repetitive physical stress, as much as on pay.

Automation is key to filling workforce gaps — not just robotics but also process automation to optimize workflow as companies begin many days uncertain about who will show up to do which jobs. Prioritizing, allocating and dynamically adjusting work to match demand requires control tower visibility across the entire facility.

“If I’m a warehouse VP, director or manager, I want to know what’s going on in my warehouse,” explains Bill Denbigh, vice president, product marketing for cloud-based supply chain software provider Tecsys Inc. “How busy am I? How full am I? Where are the most common pick locations? Where am I running out of space?”

A digital twin provides that baseline operating visualization. Underlying artificial intelligence and machine learning monitor operations in real time, map high-activity areas, flag disruptions and orchestrate movement of people and assets against defined objectives like order priority, throughput, travel time or cost per move. As a virtual copy, it can model “what-if” scenarios without disrupting workflow.

2  Help machines run smarter. 

As DCs become more capital-intensive with adoption of mechanization, automation and robotics, they become more like factories, with a growing share of ROI reliant on maintaining, orchestrating and fully utilizing capital assets.

A digital twin can manage both equipment and processes. It optimizes equipment performance and interaction — say, robotic arms loading a conveyor belt — but also monitors systems for predictive maintenance to minimize downtime. Twins also manage process flow, the movement of people, machines and product in the warehouse space. Near real-time simulation is a key differentiator for the technology. “Say you’re running a digital simulation using AGVs and realize you need to adjust dynamically to the reality of what’s happening on the floor to make them more efficient,” says Joe Vernon, principal business consultant with enterprise software and consulting firm EPAM Systems. “You can now do that over and over again, in very fast cycles.”

The result is shorter simulation times for “smarter” equipment that can be pivoted quickly to adapt to changing conditions, in both simulations and actual operations. Systems can also generate real-time feedback from the floor on performance, constraints from narrow aisles or tight corners, or speed adjustments needed to align with human activity.     ... '

Friday, February 10, 2023

Digital Twin for Intense Weather

Interesting and clever approach, if there is enough detail in the model being used.  How much is required for the purpose? 

ACM TECHNEWS

Digital Twin for Intense Weather Gives Scientists 'Control Loop'

By ZDNet, February 10, 2023

The work allows for a digital twin of the real world, allowing scientists to make predictions and see the effects of interventions in a kind of control loop.

Computer maker Cerebras used its AI computer on a non-AI problem: simulating "buoyancy-driven Navier-Stokes flows" that capture dynamics of many systems in nature and the built environment.

Credit Cerebras/DoE NETL 2023

Scientists at artificial intelligence computing developer Cerebras and the U.S. Department of Energy's National Energy Technology Laboratory (NETL) said they can model extreme weather by accelerating field equations.

Said Cerebras' Andrew Feldman, "This is a real-time simulation of the behavior of fluids with different volumes in a dynamic environment."

He explained this digital twin of real-world conditions basically enables a "control loop" for manipulating reality.

Cerebras' CS-2 supercomputer can model the Rayleigh-Bénard convection process caused by fluids being heated from the bottom and cooled from the top, while the Cerebras-NETL Wafer Scale Engine field equation application programming interface describes scientific equations.

The partners said, "The simulation is expected to run several hundred times faster than what is possible on traditional distributed computers, as has been previously demonstrated with similar workloads."

From ZDNet

View Full Article  

Tuesday, January 24, 2023

Synthetic Populations Revisited

Akin to building 'Digital Twins', but here constructing a population, say of your current or targeted customers.    We did similar things to feed simulations being tested, say as to their reaction to new products.  Led to examination of:

CACMmag (@Communications of the ACM) Tweeted: .@Shibaura_it and @UnivKansai #researchers in #Japan have developed a way to assign workplaces to individuals in computer-generated 'synthetic populations'.    See:  http://bit.ly/3J69gzJ   https://t.co/Kuex1rOA4B   and  https://twitter.com/cacmmag/status/1617639341156884480?s=51&t=m6BeqGbF_-LmLEIpixKnFg

See above references, taking a closer look at this and will report back  if useful.    Comments?

Thursday, January 12, 2023

Supercomputer Simulation Transforms Coal Like Material

 Unusual Direction for this kind of Sim effort, reading more at the link.  A new kind of Coal.  Material science uses?

Supercomputer Simulations Transform Coal-Like Material to Amorphous Graphite, Nanotubes

Ohio University, January 1, 2023

Researchers at Ohio University (OU) and the U.K.'s universities of Cambridge and Oxford simulated coal-like materials on the Pittsburgh Supercomputing Center's Bridges-2 supercomputer to explore their conversion into useful substances like amorphous graphite. The researchers modeled a simplified "coal" composed of only carbon atoms, then computationally applied pressure and heat (about 3,000 degrees Kelvin/nearly 5,000 degrees Fahrenheit). OU's Chinonso Ugwumadu said OU's computers take about two weeks to simulate 160 atoms, while the Bridges-2 can model 400 atoms in about a week using density functional theory. The researchers then moved their calculations to machine learning Gaussian approximation potential software; the resulting molecular simulations yielded nested amorphous carbon nanotubes.  ... ' 

Monday, January 09, 2023

We did some Critical Path Work in the Enterprise

 We did some Critical Path Work in the Enterprise, so this was of Interest,  but we did not include many  latency aspects.  Technical,  but worth a look. 

 Distributed Latency Profiling through Critical Path Tracing   By Brian Eaton, Jeff Stewart, Jon Tedesco, N. Cihan Tas  in CACM

Communications of the ACM, January 2023, Vol. 66 No. 1, Pages 44-51  10.1145/3570522

For complex distributed systems that include services that constantly evolve in functionality and data, keeping overall latency to a minimum is a challenging task. Critical path tracing (CPT) is a new applied mechanism for gathering critical path latency profiles in large-scale distributed applications. It is currently enabled in hundreds of different Google services, which provides valuable day-to-day data for latency analysis.

Fast turnaround time is an essential feature for any online service. In determining the root causes of high latency in a distributed system, the goal is to answer a key optimization question: Given a distributed system and workload, which subcomponents can be optimized to reduce latency?

Low latency is an important feature for many Google applications, such as Search,4 and latency-analysis tools play a critical role in sustaining low latency at scale. The systems evolve constantly because of code and deployment changes, as well as shifting traffic patterns. Parallel execution is essential, both across service boundaries and within individual services. Different slices of traffic have different latency characteristics.

CPT provides detailed and actionable information about which subcomponents of a distributed system are contributing to overall latency. This article presents results and experiences as observed in using CPT in a particular application: Google Search.

Critical path describes the ordered list of steps that directly contribute to the slowest path of request processing through a distributed system so optimizing these steps reduces overall latency. Individual services have many subcomponents, and CPT relies on software frameworks17 to identify which subcomponents are on the critical path. When one service calls another, RPC (remote procedure call) metadata propagate critical path information from the callee back to the caller. The caller then merges critical paths from its dependencies into a unified critical path for the entire request.

The unified critical path is logged with other request metadata. Log analysis is used to select requests of interest, and then critical paths from those requests are aggregated to create critical path profiles. The tracing process is efficient, allowing large numbers of requests to be sampled. The resulting profiles give detailed and precise information about the root causes of latency in distributed systems.

An example system. Consider the distributed system in Figure 1, which consists of three services, each with two subcomponents. The purpose of the system is to receive a request from the user, perform some processing, and return a response. Arrows show the direction of requests where responses are sent back in the opposite direction.

Figure 1. A simple distributed system.

The system divides work across many subcomponents. Requests arrive at Service A, which hands request processing off to subcomponent A1. A1 in turn relies on subcomponents B1, B2, and A2, which have their own dependencies. Some subcomponents can be invoked multiple times during request processing (for example, A2, B2, and C2 all call into C1).

Even though the system architecture is apparent from the figure, the actual latency characteristics of the system are hard to predict. For example, is A1 able to invoke A2 and B1 in parallel, or is there a data dependency so the call to B1 must complete before the call to A2 can proceed? How much internal processing does A2 perform before calling into B2? What about after receiving the response from B2? Are any of these requests repeated? What is the latency distribution of each processing step? And how do the answers to all of these questions change depending on the incoming request?

Without good answers to these questions, efforts to improve overall system latency will be poorly targeted and might go to waste. For example, in Figure 1, to reduce the overall latency of A1 and its downstream subcomponents, you must know which of these subcomponents actually impact the end-to-end system latency. Before deciding to optimize, you need to know whether A1 → A2 actually matters. ... ' 


Monday, January 02, 2023

Supercomputer Simulation Animates Evolution of the Universe

Considering all of it and animations are useful too.  

Supercomputer Simulation  of the Universe

ScienceNews

James R. Riordon. December 2, 2022

An international team of researchers has engineered the most accurate supercomputer animation of the cosmos' early evolution to date. The simulation represents the third version of the Cosmic Dawn Project (CoDaIII), which the University of Texas at Austin's Paul Shapiro described as the first model to fully encompass the interaction between radiation and the flow of matter in the universe. CoDaIII spans the period from about 10 million years after the Big Bang through the next several billion years, as matter composing the modern cosmos diffused. Shapiro said the animation depicts how the early universe's structure is "imprinted on the galaxies today, which remember their youth, or their birth, or their ancestors from the epoch of reionization."

Monday, December 12, 2022

Virtualizing Nuclear War?

Happy thoughts here, not sure talking or virtualizing does much.  But consider all the war games that have been played,    Including civilians.   Serious stuff.

Nuclear War Simulator Creator Says Public Must Know Potential Destruction

Newsweek, Aristos Georgiou, October 19, 2022

A computer scientist created a nuclear war simulator to demonstrate atomic weapons' destructive potential to the public. Christopher Minson said Russia's war in Ukraine has elevated traffic to his website, which hosts a map tool for modeling an attack on the U.S. involving approximately 1,200 nuclear warheads. Minson based the tool on databases of warhead yields and targets derived from declassified information; he then compiled a database of census data, and mapped populations to target sites. Minson said the system correlates this data and executes a two-hour attack, calculating casualties from known impact and population size, and modeling the spread of fallout. "It is critical that the public understands this threat," he said. "They need to see, clearly and viscerally, just how universal and destructive a nuclear war would be."  ... 


Wednesday, November 30, 2022

Laying the Groundwork for Digital Twins

 Thoughtful , introductory.  Would prefer a view that is more a simulation-engineering basis than metaverse, but still useful. 

Laying the groundwork for digital twins   in Mckinsey

AWS REINVENT 2022

November 29, 2022What if you had a simulation of yourself, an avatar whom you could send into unknown or risky situations to gauge an outcome? You could send your avatar to that new street food stall to see if you can stomach it, or test “yourself” with a new workout regimen. If things are going OK, add some extra hot sauce, or another set of reps. Digital twin technology doesn’t exist for people (yet?). But some organizations are putting digital twins in place for their products, manufacturing facilities, and supply chains. What are they? In a recent episode of the McKinsey Talks Operations podcast, McKinsey partners Kimberly Borden and Anna Herlt explain exactly what digital twins are, as well as how they can add business value—reduced time to market, more efficient product design, and tremendous improvements in product quality. For more on this trending new technology, check out the insights below. And stay tuned for more insights on topics that will headline this year’s AWS re:Invent 2022 (#reInvent).

Links in the linked-to text for each

Digital twins: What could they do for your business?

Digital twins: From one twin to the enterprise metaverse

Digital twins: The foundation of the enterprise metaverse

Digital twins: How to build the first twin

Digital twins: Flying high, flexing fast

Digital twins: The art of the possible in product development and beyond  ... 

Tuesday, November 22, 2022

Simulation Based Dynamic Virtual Prototyping

 Simulation aided by selective AI 

Simulation-based and highly dynamic: virtual prototyping

Press release / November 09, 2022

The things that amaze us in everyday life, such as when our cars take control of the parking process, are often the result of countless series of expensive and lengthy trials. At electronica, Booth B4/258, Fraunhofer researchers will demonstrate how virtual prototyping can be used for simulations to detect errors and problems in complex electronic control systems at an early stage as well as to shorten development times and significantly reduce costs.

The team at Fraunhofer IIS/EAS is building their own vehicle-in-the-loop laborato-ry. Manufacturers can test and certify their vehicles in a virtual environment.

© Fraunhofer IIS/EAS

The team at Fraunhofer IIS/EAS is building their own vehicle-in-the-loop laborato-ry. Manufacturers can test and certify their vehicles in a virtual environment.

From navigation devices that report unexpected traffic jams before they can be seen, to robots moving in a dynamic environment — intelligent electronic components that identify, evaluate and autonomously adapt to changes in the environment and their own internal structure have long been part of our networked world and are rapidly becoming more widespread. However, the lengthy process to bring products like these to market is anything but simple.

In microelectronics, development cycles are significantly more complex than in conventional mechanical engineering. For application-specific integrated circuits (ASICs) and other embedded systems, it is not uncommon to see lead times of six months or more. Any delays can lead to missed market launch opportunities.

Dynamic tests in simulated environments

To shorten these processes, Dr. Christoph Sohrmann and his team at the Fraunhofer Institute for Integrated Circuits IIS, Division Engineering of Adaptive Systems EAS, are providing support for their customers through virtual prototyping: “We execute parts of the product development chain using simulations, which allows us to break up the development flow so that multiple teams can start in parallel,” explains the Virtual System Development group manager.

From purely virtual models to test stands for testing hardware and software in the context of the target product, the tests, conducted by scientists, allow for an agile development process. “Using virtual models allows us to start intensive software tests long before the hardware is available. Our customers can test their system piece by piece in the loop: This increases coverage significantly and produces more robust systems. The virtual development supplements the conventional development cycle. The software has far fewer errors when it reaches the actual prototype,” explains the EAS expert Sohrmann. This is a crucial point, because the costs of fixing an error increase exponentially from the concept to the mass production phase. If a product has to be recalled, that could spell the end of a business. This means that errors need to be identified and eliminated as early as possible.

Another good reason for virtual-based development methods is the number of tests that are necessary to ensure that a system can run without errors. The existence of countless borderline cases and exceptions poses a particular challenge. Sohrmann explains this using cars as an example: “Many of the latest models stay in lane automatically. When the sun reflects off the crash barrier, it can create an additional line on the road surface. The car can suddenly start to navigate using this third bright line.” In the simulation, experts can have a million cars driving in parallel and run through many more driving situations in the same development time — this leads to significant savings in time and costs, which saves many millions of miles traveled for the real model in the automotive sector.

Validation of AI-based systems

Testing procedures for intelligent, self-learning systems are also a focus for the professionals at EAS. For example, what do TÜV testing processes for self-driving vehicles need to look like? A lot can change in three years — in a city and in a vehicle. AI algorithms also learn and will change accordingly during that time. TÜV nonetheless needs to be able to check that all the systems are functioning correctly. A general inspection cannot take up three weeks, so virtual assistance at the test stand is unavoidable. “That is a major challenge. These testing procedures need to be available in under ten years,” Sohrmann points out. Accordingly, the researchers intend to continue their collaboration with the bodies responsible, not only in the form of consulting but also in technical support. .... ' 

Thursday, October 06, 2022

Intro to Robotic Simulaton in Isaac Sim

Of interest, new to me:

SELF-PACED ONLINE COURSE

Introduction to Robotic Simulations in Isaac Sim

Robotic automation has enjoyed great success in recent years with increasing hardware capabilities driving innovation in simulation and machine learning. In this course, we introduce you to Isaac Sim, NVIDIA Omniverse’s solution for simulation and robotics.

In this course, you’ll learn how to tap into the simulation loop of a 3D engine and initialize experiments with objects, robots, and physics logic. This can be done programmatically using Omniverse Kit and Pixar USD commands, but the course will use Isaac Sim Core to wrap these low-level operations in an object-oriented fashion. By the end of the course, you’ll be able to simulate and control NVIDIA JetBot and Franka Emika robots and coordinate them together to perform a handoff.

The skills covered in this course are direct prerequisites for working with Isaac Gym and create a good starting point for exploring Isaac Sim and other Omniverse applications. The course is great for those interested in 3D scene specification and robotic simulation, but is also useful for researchers looking to expand their toolkits as well as seasoned developers interested in exploring design patterns for Omniverse KIT development.

Learning Objectives

By participating in this course, you will learn how to:

Develop for a simulation application using an interactive Python scripting interface.

Specify scenes with USD components and enforce simulation-time properties.

Launch tasks that can encapsulate complex logic in the simulation environment.

Import and control an NVIDIA JetBot wheeled robot and a Franka Emika robotic arm.

Execute a robotic handoff between two robots working in simulation.

Upon completion, you will have the prerequisite knowledge and experience to explore Isaac Sim's more advanced features, explore the code base, and do non-trivial project development in the robotic space.

Course Details  ... (Much more at link) 

Sunday, September 18, 2022

Simulation Aids Search for the Origin of Cosmic Rays

Testing theoretical models,  often done with prospective simulation.

Simulation Aids Search for the Origin of Cosmic Rays

By Ruhr-Universität Bochum (Germany)

September 15, 2022

An international research team created a computer program to simulate the propagation of cosmic rays, to help in the search for their sources.

Julien Dörner at Germany's Ruhr-Universität Bochum said, "Our program CRPropa enables us to trace the trajectories of particles from their formation to their arrival on Earth—and this for all energies that we can observe from Earth. We can also fully account for the interaction of the particles with matter and photon fields in the universe."

CRPropa also can model the signatures of neutrinos and gamma rays generated in cosmic ray interactions.

Karl-Heinz Kampert at Germany's University of Wuppertal said, "We can develop a theoretical model that describes the transition from cosmic rays from our own galaxy to a fraction coming from distant galaxies and compare it with observations."

From Ruhr-Universität Bochum (Germany)

View Full Article    

Saturday, September 10, 2022

Cities Using Digital Twins Examine SimCity for Policymakers: Metaverse

 Note considerable detail in the simulation here.

Cities Using Digital Twins Like SimCity for Policymakers

By Bloomberg CityLab, April 6, 2022

A collage of 3-D reality mesh images of Singapore

Said Cityzenith CEO Michael Jansen, “I think digital twins will deliver on the promise that open data failed to do. Without the digital twin calculator to make that data make sense, open data is a waste of money, to be honest.”

Cities like Orlando, FL, and Singapore are using digital twins to generate virtual models of themselves, in order to simulate the effects of potential new policies or infrastructure projects that can inform real-world decision-making.

For example, the Orlando Economic Partnership and gaming company Unity have developed a three-dimensional (3D) model of the region that the city can show to potential investors as it attempts to expand as a technology hub.

Meanwhile, the Virtual Singapore model incorporates over 3 million street-level and 160,000 aerial images, plus billions of 3D data points, exceeding 100 terabytes of raw data.

Singapore Land Authority's Victor Khoo said the model differentiates between individual elements, making it easier to test their responses to different conditions in various simulations.

From Bloomberg CityLab

View Full Article

Tuesday, August 30, 2022

Towards Helpful Robots: Grounding Language in Robotic Affordances

In Google Blog,   what and how can we get things done with commands?    How will the language models help.  

Towards Helpful Robots: Grounding Language in Robotic Affordances

Tuesday, August 16, 2022  ...Posted by Brian Ichter and Karol Hausman, Research Scientists, Google Research, Brain Team

Over the last several years, we have seen significant progress in applying machine learning to robotics. However, robotic systems today are capable of executing only very short, hard-coded commands, such as “Pick up an apple,” because they tend to perform best with clear tasks and rewards. They struggle with learning to perform long-horizon tasks and reasoning about abstract goals, such as a user prompt like “I just worked out, can you get me a healthy snack?”

Meanwhile, recent progress in training language models (LMs) has led to systems that can perform a wide range of language understanding and generation tasks with impressive results. However, these language models are inherently not grounded in the physical world due to the nature of their training process: a language model generally does not interact with its environment nor observe the outcome of its responses. This can result in it generating instructions that may be illogical, impractical or unsafe for a robot to complete in a physical context. For example, when prompted with “I spilled my drink, can you help?” the language model GPT-3 responds with “You could try using a vacuum cleaner,” a suggestion that may be unsafe or impossible for the robot to execute. When asking the FLAN language model the same question, it apologizes for the spill with "I'm sorry, I didn't mean to spill it,” which is not a very useful response. Therefore, we asked ourselves, is there an effective way to combine advanced language models with robot learning algorithms to leverage the benefits of both?

In “Do As I Can, Not As I Say: Grounding Language in Robotic Affordances”, we present a novel approach, developed in partnership with Everyday Robots, that leverages advanced language model knowledge to enable a physical agent, such as a robot, to follow high-level textual instructions for physically-grounded tasks, while grounding the language model in tasks that are feasible within a specific real-world context. We evaluate our method, which we call PaLM-SayCan, by placing robots in a real kitchen setting and giving them tasks expressed in natural language. We observe highly interpretable results for temporally-extended complex and abstract tasks, like “I just worked out, please bring me a snack and a drink to recover.” Specifically, we demonstrate that grounding the language model in the real world nearly halves errors over non-grounded baselines. We are also excited to release a robot simulation setup where the research community can test this approach.

With PaLM-SayCan, the robot acts as the language model’s “hands and eyes,” while the language model supplies high-level semantic knowledge about the task.

A Dialog Between User and Robot, Facilitated by the Language Model

Our approach uses the knowledge contained in language models (Say) to determine and score actions that are useful towards high-level instructions. It also uses an affordance function (Can) that enables real-world-grounding and determines which actions are possible to execute in a given environment. Using the the PaLM language model, we call this PaLM-SayCan.

Our approach selects skills based on what the language model scores as useful to the high level instruction and what the affordance model scores as possible.

Our system can be seen as a dialog between the user and robot, facilitated by the language model. The user starts by giving an instruction that the language model turns into a sequence of steps for the robot to execute. This sequence is filtered using the robot’s skillset to determine the most feasible plan given its current state and environment. The model determines the probability of a specific skill successfully making progress toward completing the instruction by multiplying two probabilities: (1) task-grounding (i.e., a skill language description) and (2) world-grounding (i.e., skill feasibility in the current state).

There are additional benefits of our approach in terms of its safety and interpretability. First, by allowing the LM to score different options rather than generate the most likely output, we effectively constrain the LM to only output one of the pre-selected responses. In addition, the user can easily understand the decision making process by looking at the separate language and affordance scores, rather than a single output.

PaLM-SayCan is also interpretable: at each step, we can see the top options it considers based on their language score (blue), affordance score (red), and combined score (green).

Training Policies and Value Functions

Each skill in the agent’s skillset is defined as a policy with a short language description (e.g., “pick up the can”), represented as embeddings, and an affordance function that indicates the probability of completing the skill from the robot’s current state. To learn the affordance functions, we use sparse reward functions set to 1.0 for a successful execution, and 0.0 otherwise.

We use image-based behavioral cloning (BC) to train the language-conditioned policies and temporal-difference-based (TD) reinforcement learning (RL) to train the value functions. To train the policies, we collected data from 68,000 demos performed by 10 robots over 11 months and added 12,000 successful episodes, filtered from a set of autonomous episodes of learned policies. We then learned the language conditioned value functions using MT-Opt in the Everyday Robots simulator. The simulator complements our real robot fleet with a simulated version of the skills and environment, which is transformed using RetinaGAN to reduce the simulation-to-real gap. We bootstrapped simulation policies’ performance by using demonstrations to provide initial successes, and then continuously improved RL performance with online data collection in simulation.   ... ' 

Tuesday, May 03, 2022

Neural Nets Speed Simulations

 Very interesting piece, Often the speed of complex simulations can be key for their use.  Below an introductory text, makes a good case.  Think of it as a way to insert learned knowledge into  a model.  More at the link.

Neural Networks Learn to Speed Up Simulations  By Chris Edwards

Communications of the ACM, May 2022, Vol. 65 No. 5, Pages 27-29   101145/3524015

Physical scientists and engineering research and development (R&D) teams are embracing neural networks in attempts to accelerate their simulations. From quantum mechanics to the prediction of blood flow in the body, numerous teams have reported on speedups in simulation by swapping conventional finite-element solvers for models trained on various combinations of experimental and synthetic data.

At the company's technology conference in November, Animashree Anandkumar, Nvidia's director of machine learning research and Bren Professor of Computing at the California Institute of Technology, pointed to one project the company worked on for weather forecasting. She claimed the neural network that team created could achieve results 100,000 times faster than a simulation that used traditional numerical methods to solve the partial differential equations (PDEs) on which the model relies.

Nvidia has packaged the machine learning techniques that underpin the weather-forecasting project into the Simnet software package it provides to customers. Its engineers have used the same approach to model the heat-sinks that cool the graphics processing units (GPUs) that power many other machine learning systems.

Other engineering companies are following suit. Both Ansys and Siemens Digital Industries Software are working on their own implementations to support their mechanical simulation product lines, adding to a growing body of open source initiatives such as the DeepModeling community.

A key reason for using machine learning for scientific simulations is that a collection of fully connected artificial neurons can act as a universal function approximator. Though training those neurons is computationally intensive, during the inference phase the neural network often will provide faster results than running simulators based on finite-element or numerical approximations to PDEs.

One approach to training a neural network for scientific simulation is to record experimental data and augment that with simulated data using numerical methods. For example, a simulation of the motion of a shock wave in a fluid-filled pipe might use a combination of sensor recordings and the solutions of the Bateman-Burgers equation.

The simulated data can be used to supply usable data for points where it is impossible to place a sensor to record pressure or simply to provide a higher density of data points. In principle, the machine learning model then will interpolate reasonable values for points where no data has been supplied. But the learned approximation can easily diverge from reality when checked against traditional models. The neural network likely will not learn the underlying patterns, just those that let it approximate the data points used for training.  .... ' 

Saturday, April 30, 2022

Digital Twins in the Warehouse

 Intro below.   We did something very  very early on using a number of simulated alternatives, as quite valuable.   Here seems to be taken to a new level.

How digital twins are transforming warehouse performance  in VentureBeat

The global Industry 4.0 market was worth $116 billion in 2021 and is predicted to rise to $337 billion by 2028. Many technologies are contributing to the incredible growth of Industry 4.0, but a standout among them is digital twin solutions. Specifically, digital twins are now being deployed to greatly improve warehouse automation operations with the end goal of increasing efficiency and reducing downtime. 

Digital twins can deliver virtual representations of a physical environment — proving extremely helpful to the warehouse industry. With a digital twin, new improvements and efficiencies can be tested virtually, without downtime or rearrangement of physical assets.

Warehouse operations are rapidly growing in complexity. Inventory is more diverse, as the massive expansion of ecommerce has brought an increase in the proliferation of SKUs. Logistics solutions are strained, as customers now expect lightning-fast fulfillment. Technology is more complex, as innovative new automation systems come to market, and managers must analyze the new systems to introduce those that bring the greatest benefit to their warehouse operations.

To win against competitors, smart companies are now building digital twins of their warehouse operations and using them to handle operational complexities and performance improvements.   .... '