Wednesday, July 13, 2022

EV Charging Information Link

 

Electric Vehicle Charging Station (EVCS) Vendor 

Charging Station Maps

EVSE Vendors

Many are now available on Amazon or in regular retail stores

Charging Networks

Trip Planners

Advocacy

Part Manufacturer


Misc.

Wednesday, June 29, 2022

Convert pfx file to pem file

 Conversion to a combined PEM file

To convert a PFX file to a PEM file that contains both the certificate and private key, the following command needs to be used:

# openssl pkcs12 -in filename.pfx -out cert.pem -nodes


Conversion to separate PEM files

We can extract the private key form a PFX to a PEM file with this command:

# openssl pkcs12 -in filename.pfx -nocerts -out key.pem


Exporting the certificate only:

# openssl pkcs12 -in filename.pfx -clcerts -nokeys -out cert.pem


Removing the password from the extracted private key:

# openssl rsa -in key.pem -out server.key

Thursday, June 23, 2022

Convert .pfx to .pem

 openssl pkcs12 -in file.pfx -out file.nokey.pem -nokeys

openssl pkcs12 -in file.pfx -out file.withkey.pem
openssl rsa -in file.withkey.pem -out file.key
cat file.nokey.pem file.key > file.combo.pem

Friday, April 15, 2022

THE MOST COMMON EV ABBREVIATIONS AND WHAT THEY MEAN

 Most industries, from science to healthcare to marketing, are chock full of acronyms, to the point where reading or listening to anything related to the industry can be mystifying to anyone on the “outside”. 

The electric vehicle industry is no exception. In fact, abbreviations are so common in this industry that we were able to create an entire article out of them.

Whether you’re new to the world of electric vehicles and electric vehicle charging (or you’ve been around for a while and are, at this point, too afraid to ask), we hope that this list helps you understand more about the world of electric vehicles.

THE MOST COMMON EV ABBREVIATIONS AND WHAT THEY MEAN

In a hurry? Click on the abbreviations to jump to the definition.


AC (Alternative current)

This type of charging is useful for charging electric vehicles at different speeds through an alternating current. Electric vehicle charging always comes out as AC. With an AC charger, the power is converted to DC by the vehicle itself. This type of charging is economical but takes longer. 

Typical AC charging powers are 3.7kW, 11kW, 22kW (the higher, the faster). However, note that AC charging speed is not only dependent on the charging device capabilities; charging speed is also defined by the vehicle's AC charger. 

BEV (Battery electric vehicle)

BEVs are a type of electric car that exclusively get their energy from rechargeable battery packs. BEVs do not have an internal combustion engine, a fuel tank, or a fuel cell. 

CCS (Combined charging system)

It offers both AC and DC charging on the same port and provides power of up to 350kW. This is the industry-standard method for public charging stations and also home charging set-ups in Europe and America. It may also be called a “combo plug”. 

CHAdeMO (CHArge de MOve)

Contraction of CHArge de MOve, CHAdeMo is a fast (DC) charging technology. The expression finds its roots in the following Japanese sentence: “O cha demo ikaga desuka”, which translates into “would you like a cup of tea?”. The reference to tea is here to remind us that it takes very little time to charge the battery of a CHAdeMO vehicle.

CPM (Charging point manager)

This refers to a type of software responsible for smart charging, i.e., allocating power to different electric vehicles to make sure that each one charges as quickly as possible. It relies on customisable algorithms to work efficiently. 

CPO (Charging point owner)

A CPO is an operator who owns and oversees the operation of electric vehicle smart charging points.

DC (Direct current)

DC is one of the two types of ‘fuel’ that can be used to power electric vehicles. Unlike AC charging, converted into DC power by the car, DC charging can convert the AC power into DC right in the plug itself. DC chargers are larger, more expensive, but faster. It will be more common at public charging stations, such as at a rest stop charge point.

DLM (Dynamic Load Management)

Dynamic Load Management (or DLM) refers to an EV charging technology that makes it possible to evenly distribute the electricity to all the vehicles that might be plugged simultaneously. In other words, DLM optimises charging speed and prevents all grid congestion episodes.

DSO (Distribution system operator)

These are the operating managers and/or owners of energy distribution networks.

EMP (Electro-mobility provider)

An EMP is a company that provides customers access to an electric vehicle charging network. They will often offer a tracking service such as an app for evaluating the availability of charging stations. EMPs are also responsible for determining the price of electric vehicle charging. 

EMSP (Electro-mobility service provider)

EMSP is simply another way to say EMP (electro-mobility provider). 

EV (Electric vehicle)

EV stands for electric vehicles (or electric cars). EVs are equipped with a battery-powered motor instead of a traditional internal combustion engine. Contrary to PHEVs and HEVs, EVs do not have a gasoline tank and output zero tailpipe emissions. They are associated with a lower carbon footprint than traditional vehicle types.

EVSE (Electric vehicle supply equipment)

EVSE refers to equipment that exists to supply electrical energy for charging electric vehicles. It can be residential (such as an at-home charger) or commercial (such as chargers at malls, workplaces, rest stops, etc.).

GHG (Greenhouse gas)

Greenhouse gases are gases in the atmosphere that trap the sun’s heat and warm the Earth, contributing to climate change. The Earth’s most common greenhouse gases are ozone, nitrous oxide, water vapour, methane, and carbon dioxide. Cars with internal combustion engines emit greenhouse gases through their tailpipe.

HEV (Hybrid electric vehicle)

HEVs use both electric batteries and gasoline. More often than not, the electric motor is here to assist the internal combustion engine, during the acceleration phases, for instance. Note that HEVs cannot be plugged into regular EV charging stations. Batteries replenish themselves via the energy generated by the combustion engine or via regenerative braking.

ICE (Internal combustion engine)

Internal combustion engines use liquid fuel (gasoline) to create energy to power traditional vehicles. ICE cars are the most common vehicle on the road (although an increase in EV infrastructure means electric cars are becoming more accessible). 

kW (kilowatt)

kW is a measurement unit used to determine how much power an electrical appliance consumes. 

kWh (Kilowatt-hour)

kWh defines the amount of energy that is required to power an electrical appliance for one hour.

PHEV (Plug-in hybrid electric vehicle)

PHEVs rely on both electric batteries as well as gasoline to power an ICE. These vehicles run on electrical power until the battery is depleted and automatically switch to the ICE. Charging hybrids can also be plugged in to charge their engine. 

RFID (Radio-frequency identification)

RFID is a type of technology that links a card to an account. It can be used in electric vehicle charging to quickly and conveniently start a charge through tapping. 

TSO (Transmission system operator)

TSO is a term defined by the European Commission that describes an organisation in charge of transporting energy and maintaining the infrastructure for transporting energy.

V2B (Vehicle-to-building)

Vehicle-to-building is a technology that lessens a building’s energy consumption by drawing on the untapped energy of multiple idle electric vehicles. 

V2G (Vehicle-to-grid)

V2G is a new smart charging technology that can push the energy stored in electric cars’ batteries back to the power grid. As we’re increasingly relying on renewable energies to power the grid, V2G is the technology that will stabilise the grid when the energy produced via renewable solar or wind sources can’t meet the demand.

V2H (Vehicle-to-home)

A technology that allows the battery of an electric vehicle to power an entire home (or other building of similar size). This is a bi-directional system with the power to convert energy between AC supply and electric car battery. 

V2X (Vehicle-to-everything)

A technology that allows the battery of an electric car to provide general backup power in the case of an outage. 

Friday, January 21, 2022

Installing DAMASK Using Binary Source Code Method to Intergrade with MSC Marc

 The development of DAMASK started in 2006 with the establishment of a new research group named Computational Mechanics of Polycrystals (CMCn) at the Max-Planck-Institut für Eisenforschung (MPIE). The aim of this joint research group between the Max-Planck-Gesellschaft and the Fraunhofer-Gesellschaft was the development of enhanced material models and simulation technologies from the single crystal up to the component scale [48]. In the course of the CMCn project, it turned out that the Crystal Plasticity (CP) codes existing in the public domain at that time were not flexible enough for this purpose. Therefore, a new CP implementation was initiated, aiming at a strict modularization to allow for flexible incorporation of material models on all length scales. Within the CMCn project, two different homogenization schemes and various constitutive models for plasticity have been incorporated into the new code. The capability to choose from a set of different available constitutive models within a single simulation is a unique feature of the developed simulation framework. Together with R.A. Lebensohn from the Los Alamos National Lab (LANL), Humboldt awardee at MPIE in 2010, a spectral method based mechanical boundary value problem solver was added to complement the existing user material interfaces to commercial Finite Element Method (FEM) solvers. In addition to the core routines, numerous utilities for pre- and post-processing have been added to the package now referred to as DAMASK.

In September 2011, a website (https://damask.mpie.de) was launched to release the code to the public domain as free software according to GPL 3. The idea of a flexible open source CP implementation was very well received by the scientific community. Presently, more1 than 50 groups across the world use DAMASK, including universities such as University of California Los Angeles (UCLA), research facilities such as LANL, and multinational companies such as Tata Steel. These groups contribute to the further code development as well, e.g. by adding features such as new or modified constitutive models.

In 2015, multi-physics extensions were incorporated into DAMASK to consistently treat coupled problems, such as thermo-mechanics, chemo-mechanics, and damage-mechanics. Since early 2016, the code is hosted in a public repository using GitLab (see Appendix A for details) to enable and assist collaborative development among the growing user community.

Source Code

The DAMASK core is written in Fortran 2018 with a few enhancements in C. The pre- and post-processing tools are written in Python 3. A Unix-style operation system is a prerequisite for installation from source. DAMASK has been installed on different GNU/Linux distributions and on MacOS. Compilation on Windows is possible via the Windows Subsystem for Linux (WSL).

1. Download, check, and unpack the source code:

wget https://damask.mpie.de/download/damask-3.0.0-alpha5.tar.xz
wget https://damask.mpie.de/download/damask-3.0.0-alpha5.tar.xz.sha256

---> sha256sum -c damask-3.0.0-alpha5.tar.xz.sha256
----> tar -xf damask-3.0.0-alpha5.tar.xz

2. Get an overview of the prerequisites available on your system:

cd damask-3.0.0-alpha5

./DAMASK_prerequisites.sh

cat system_report.txt

Grid and Mesh Solver

A recent version of the GNU Compiler Collection, the Intel Parallel Studio XE, or the Intel oneAPI toolkit is needed to build the grid solver and/or mesh solver from source.

Warning

The ifx Fortran driver from the Intel oneAPI toolkit does not yet support constructs from Fortran 2018 used in DAMASK.


The solvers included with DAMASK are build with CMake and rely on PETSc. A PETSc installation with support for MPI and the following external packages is needed:


(a) BLAS/LAPACK

(b) HDF5 with MPI support, zlib support is strongly recommended

(c) FFTW with MPI support (grid solver only)

(d) Packages such as SuperLU, HYPRE, MUMPS, or ML for certain sparse linear solvers.

If all prerequisites are installed, compiliation and installation follows the standard CMake procedure:

cmake -S damask-3.0.0-alpha5 -B build-grid -DDAMASK_SOLVER=grid

cmake --build build-grid --target install

cmake -S damask-3.0.0-alpha5 -B build-mesh -DDAMASK_SOLVER=mesh

cmake --build build-mesh --target install



Tuesday, January 4, 2022

Damask

 https://zhuanlan.zhihu.com/p/345653209

How To Install Damask - Auxiliary Software

 1. Auxiliary software

1.1 compiler

sudo apt-get install gfortran g++ gcc default-jre cmake -y

1.2 HDF5

./configure --prefix=/usr/local/hdf5
make -j4
make check
make install -j4

sudo h5cc -o h5_extend h5_extend.c
sudo apt install hdf5-helpers
sudo apt-get install libhdf5-serial-dev

1.3Python and corresponding modules

sudo apt install python3
sudo apt install python3-pip
sudo pip3 install numpy vtk scipy h5py -i https://pypi.tuna.tsinghua.edu.cn/simple 
*[use tsinghua source]*
sudo pip3 install numpy vtk scipy h5py -i https://pypi.doubanio.com/simple
*[use douban source]
checks whether the required Python modules are installed and working
./DAMASK_prerequisites.sh

1.4 paraview install

sudo apt install paraview -y

How do I enable the source code repositories?

 You can enable source code repositories by uncommenting (removing #'s) deb-src repositories from /etc/apt/sources.list.

sed -i '/deb-src/s/^# //' /etc/apt/sources.list && apt update

If you want to disable source code repositories, you can comment it back

sed -i '/deb-src/s/^/# /' /etc/apt/sources.list && apt update

How To Create a New Sudo-enabled User on Ubuntu 20.04

 https://www.digitalocean.com/community/tutorials/how-to-create-a-new-sudo-enabled-user-on-ubuntu-20-04-quickstart