Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the two processes shown below. Process A uses x_a_oil = 13 kg of oil and x_a_el = 6 kWh of electricity to produce 8

image text in transcribedimage text in transcribed

Consider the two processes shown below. Process A uses x_a_oil = 13 kg of oil and x_a_el = 6 kWh of electricity to produce 8 liters of fuel, with an emission of 1.5 g of SO2. Process B requires 1 liter of fuel to deliver y_b_el = 3 kWh electrical power, with an emission of 0.2 g SO2.

The system supplies a total of 1429 kWh of electricity for final consumption (i.e. final demand)

a) (10 points) Define the technology matrix A for the system, using the following format:

=[ use the matrix is on the picture] where we have put fuel = fuel, and el = electric power. You must therefore place the correct number in the correct place in the matrix

Define the response as a Python variable A. It must be defined as an np.array.

Run the cell below to check that the format is correct (checks if it is specified as np.array and the correct dimension).

\( \begin{aligned} 2 & \text { import numpy as np } \\ 3 & \text { import os, imp } \\ 4 & \\ 5 & \text { path = '.meta.py' } \\ 6 & \text { name = path.split(' ' ')[-2] } \\ 7 & \text { with open(path, 'rb') as fp: } \\ 8 & \text { meta = imp.load_module(name, fp, path, ('.py', 'rb', imp.PY_SOURCE)) } \\ 9 & \\ 10 & \text { import meta } \\ 11 & \text { assignments = meta.assignments() }\end{aligned} \) [2]: 1 assignments.getAssignment('assignment_1' ) [2]: Legg til grunn de to prosessene som er vist under. Prosess A bruker x_a_oil = 13kg olje og xa_el =6kWh elkraft for produsere 8 liter drivstoff, med et utslipp p 1.5gSO2. Prosess B krever 1 liter drivstoff for levere y_b_el =3kWh elektrisk kraft, med et utslipp av 0.2gSO. Systemet leverer samlet 1429 kWh elkraft til sluttforbruk (alts final demand). a) (10 poeng) Definer teknologimatrisa (technology matrix) A for systemet, bruk flgende format: A=[aprocess,fuelaprocess,elaprocessB,fuelaprocessB,el] der vi har satt fuel = drivstoff, og el = elkraft. Dere m alts plassere rett tall p riktig sted i matrisa Definer svaret som en Python-variabel A . Det m vre definert som en

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Temporal Databases Research And Practice Lncs 1399

Authors: Opher Etzion ,Sushil Jajodia ,Suryanarayana Sripada

1st Edition

3540645195, 978-3540645191

Students also viewed these Databases questions